Create external with Partition

前端 未结 2 559
栀梦
栀梦 2021-01-19 12:42

I have data in hadoop and created a external table using partitions (date and hour). The table creation is fine but when i try to query the data i m not getting any results.

2条回答
  •  一生所求
    2021-01-19 13:14

    Yes. You need to inform Hive about the new partition. The command to use is ALTER TABLE ... ADD PARTITION.

提交回复
热议问题