deniskuzZ commented on code in PR #5216:
URL: https://github.com/apache/hive/pull/5216#discussion_r1624187499


##########
ql/src/java/org/apache/hadoop/hive/ql/parse/BaseSemanticAnalyzer.java:
##########
@@ -1645,8 +1664,8 @@ private static boolean getPartExprNodeDesc(ASTNode 
astNode, HiveConf conf,
    */
   public List<Map<String, String>> getPartitionSpecs(Table tbl, CommonTree ast)
       throws SemanticException {
-    List<Map<String, String>> partSpecs = new ArrayList<Map<String, String>>();
-    int childIndex = 0;
+    List<Map<String, String>> partSpecs = new ArrayList<>();
+    int childIndex;

Review Comment:
   yes, but that is not my change, I just removed unnecessary type definition 
as sonar complained



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