Member since
07-21-2016
5
Posts
1
Kudos Received
0
Solutions
07-21-2016
09:02 PM
Divakar, MSCK command doesn't create partitions. It just gathers info about existing partitions and put them in the hive metastore. Please correct me if wrong.
... View more
07-21-2016
07:16 PM
Hello Divakar, I don't fully understand why we need to drop partitions ? as you suggested, MSCK command would be good enough to update the hive metastore with latest partitions info. Can you help me understand the need for dropping the partitions ?
... View more
07-21-2016
06:35 PM
Suresh, do something like below. 1) select partition_column, count(*) from table; -- look for count of records by partition. 2) select * from table ; - look if this query is reading data from all partitions or only from a few. This should atleast point you to find what is actually happening.
... View more