Hive: how to show all partitions of a table?

后端 未结 4 1413
再見小時候
再見小時候 2021-01-31 01:33

I have a table with 1000+ partitions.

\"Show partitions\" command only lists a small number of partitions.

How can i show all partitions?

U

4条回答
  •  抹茶落季
    2021-01-31 01:49

    You can see Hive MetaStore tables,Partitions information in table of "PARTITIONS". You could use "TBLS" join "Partition" to query special table partitions.

提交回复
热议问题