我正在尝试运行一些与创建视图相关的配置单元查询。创建l1的命令工作正常,但在运行命令创建视图l2后,它显示错误。
create view l1 as select id, words from tweets55 lateral view explode(sentences(lower(text))) dummy as words;
create view l2 as select id, word from l1 lateral view explode( words ) dummy as word ;
错误是
FAILED: UDFArgumentException explode() takes an array or a map as a parameter
我添加了jar hive-serdes-1.0-SNAPSHOT.jar和json-serde-1.3-jar-with-dependencies.jar