FAILED: NoMatchingMethodException No matching method for class org.apache.hadoop.hive.ql.udf.UDFToString with (struct


FAILED: NoMatchingMethodException No matching method for class org.apache.hadoop.hive.ql.udf.UDFToString with (struct<hashtags:array ,symbols:array ,urls:array<struct<display_url:string,expanded_url:string,indices:array ,url:string>>,user_mentions:array >). Possible choices: FUNC(bigint) FUNC(binary) FUNC(boolean) FUNC(date) FUNC(decimal(38,18)) FUNC(double) FUNC(float) FUNC(int) FUNC(smallint) FUNC(string) FUNC(timestamp) FUNC(tinyint) FUNC(void)

hive报错

原因是自己 select的时候直接a.*
改为a.xx,a.yy,a.zz
hive中不支持
https://stackoverflow.com/questions/42005373/how-do-i-insert-overwrite-with-a-struct-in-hive

其他:
https://ixyzero.com/blog/archives/4245.html


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM