UDTF's are not supported outside the SELECT clause, nor nested in expressions (state=42000,code=1008

hive操作时,报错如下: 原因:当使用UDTF函数的时候,hive只允许对拆分字段进行访问。 正确命令:select explode(location) from test_message; 错误命令:select name,explode(location) from test_message;  如果想访问除了拆分字段以外 的字段,怎么办呢? 用lateral view侧视图! latera
相关文章
相关标签/搜索