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