ramitg254 commented on code in PR #6337:
URL: https://github.com/apache/hive/pull/6337#discussion_r2911025248


##########
ql/src/java/org/apache/hadoop/hive/ql/metadata/Table.java:
##########
@@ -609,25 +609,30 @@ public boolean equals(Object obj) {
     return true;
   }
 
-  public List<FieldSchema> getPartCols() {
+  public List<FieldSchema> getPartCols(boolean needNonNativeParts) {
+
     List<FieldSchema> partKeys = tTable.getPartitionKeys();
+
     if (partKeys == null) {
       partKeys = new ArrayList<>();
       tTable.setPartitionKeys(partKeys);
     }
+
+    if (hasNonNativePartitionSupport() && needNonNativeParts) {
+      partKeys = getStorageHandler().getPartitionKeys(this);
+    }

Review Comment:
   addressed in https://github.com/apache/hive/pull/6337#discussion_r2911023240



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to