Parquet does not support date. See HIVE-6384

在新建表的时候碰到了这个错误,

原因:parquet 存储格式不支持date类型字段,在hive1.2之后,已经修复了这个issue;

解决办法:

① 更换字段类型 如: timestamp

② 更换存储格式 如:orc

猜你喜欢

转载自www.cnblogs.com/BigWrite/p/12329807.html
今日推荐