I have a hive table under a schema with 5 partitions
- Country Code (Filled Values KR, CP)
- Organization Code (Filled values GCB, PKR)
- Product Code (CRD,PCL)
- Data Unit (CKI)
- Report Period ()
There are about 9000 partition values, I am trying to unlock a table with the below command
unlock schema.Table-name PARTITION(country_code='KR');
Error that happens is:
Return code 1 from org.apache.hadoop.hive.q1.exec.DDLTask.partion spec {country_code=KR} doesnt contain all (5) partition columns
Can someone provide a query/solution by which I can unlock the table partitions based on a single partition value?