赞
踩
- CREATE TABLE empty (x int);
- CREATE TABLE orc_table_with_null
- STORED AS ORC
- AS
- SELECT
- x,
- null
- FROM empty;
在create table stored as ORC格式时,在create as select语句中select 的字段不能显示的给null值
Error:
347084 [main] ERROR hive.ql.exec.DDLTask - org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.IllegalArgumentException: Unknown primitive type VOID
at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:643)
at org.apache.hadoop.hive.ql.exec.DDLTask.createTable(DDLTask.java:4242)
at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:285)
参考:
https://issues.apache.org/jira/browse/HIVE-11217
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。