【问题标题】:Date datatype not supported in hive1.1 with parquet format?镶木地板格式的 hive1.1 不支持日期数据类型?
【发布时间】:2017-03-14 18:40:50
【问题描述】:

我正在使用来自 cloudera CDH5.5 的 hive 1.1

当我尝试如下创建配置单元内部表时,出现以下错误。

hive> create table acct_IK(acct_id int,acct_name String,trans_dt date)
> stored as parquet;
FAILED: Execution Error, return code 1 from    org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.UnsupportedOperationException: Parquet does not support date. See HIVE-6384

我需要将 hive 升级到下一个版本吗? 如何在其中创建具有日期数据类型的表?

【问题讨论】:

标签: hadoop hive


【解决方案1】:

HIVE-6384 中所述,仅 hive 1.2.0 支持日期

【讨论】:

    猜你喜欢
    • 2015-10-27
    • 2021-01-30
    • 2017-03-11
    • 1970-01-01
    • 2018-02-12
    • 1970-01-01
    • 2017-12-30
    • 2016-10-05
    • 1970-01-01
    相关资源
    最近更新 更多