This blog is primarily focus on Java fundamentals and the libraries built on top of Java programming language. Most of the post are example oriented, hope you have fun in reading my blog....:)
Thursday, 29 December 2022
How to get all the partitions of a table IN HIVE?
Execute
the command ‘SHOW PARTITIONS {table_name};’
hive> SHOWPARTITIONS orders;
OK
countrycode=IN
countrycode=JP
countrycode=USA
Time taken: 0.052 seconds, Fetched: 3 row(s)
No comments:
Post a Comment