How to Update/Drop a Hive Partition?

前端 未结 5 657
迷失自我
迷失自我 2020-12-12 10:55

After adding a partition to an external table in Hive, how can I update/drop it?

5条回答
  •  死守一世寂寞
    2020-12-12 11:32

    You can either copy files into the folder where external partition is located or use

    INSERT OVERWRITE TABLE tablename1 PARTITION (partcol1=val1, partcol2=val2...)...

    statement.

提交回复
热议问题