kokila-19 commented on code in PR #6259:
URL: https://github.com/apache/hive/pull/6259#discussion_r2687800579


##########
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/info/desc/DescTableAnalyzer.java:
##########
@@ -188,4 +190,20 @@ private Map<String, String> getPartitionSpec(Hive db, 
ASTNode node, TableName ta
     }
     return null;
   }
+
+  private Partition getPartition(Table tab, Map<String, String> partitionSpec) 
throws HiveException {

Review Comment:
   The logic here is almost same as getPartition() in 
**DescTableOperation.java** 
https://github.com/apache/hive/pull/6259/changes#diff-641c62b42b01bff41c89a3b3661c15d6c08fce0e48740347f36fe32448984147R131
   
   Check if you can add them in an utility so it can be reused



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