【问题标题】:changing non-partition table to partition table in hive without mentioning all the columns将非分区表更改为配置单元中的分区表而不提及所有列
【发布时间】:2018-01-05 12:18:45
【问题描述】:

您好,我的表有 150 列,我不想在分区时提及列名。有没有办法使用临时表从非分区表创建分区表。

【问题讨论】:

    标签: hive ddl


    【解决方案1】:

    Hive 中的临时表不支持分区。
    如果不提及 Partition,就无法创建任何永久分区表 列。

    【讨论】:

      猜你喜欢
      • 2022-12-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-11-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-03-27
      相关资源
      最近更新 更多