marton-bod commented on a change in pull request #2316:
URL: https://github.com/apache/hive/pull/2316#discussion_r642421768



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/plan/PlanUtils.java
##########
@@ -262,6 +263,13 @@ public static TableDesc getTableDesc(
       properties.setProperty(serdeConstants.LIST_COLUMN_TYPES, columnTypes);
     }
 
+    if (partCols != null && !partCols.isEmpty()) {
+      properties.setProperty(serdeConstants.LIST_PARTITION_COLUMNS, 
partCols.stream()

Review comment:
       Good point, after some digging I've found that `MetaStoreUtils` has some 
util methods for this already 




-- 
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.

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