jcamachor commented on a change in pull request #768: HIVE-22188 Clean up the 
SemanticAnalyzerFactory
URL: https://github.com/apache/hive/pull/768#discussion_r323967929
 
 

 ##########
 File path: ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java
 ##########
 @@ -342,33 +342,41 @@ public void analyzeInternal(ASTNode input) throws 
SemanticException {
         analyzeAlterTableProps(qualified, null, ast, false, false);
       } else if (ast.getType() == HiveParser.TOK_ALTERTABLE_DROPPROPERTIES) {
         analyzeAlterTableProps(qualified, null, ast, false, true);
-      } else if (ast.getType() == HiveParser.TOK_ALTERTABLE_UPDATESTATS) {
+      } else if (ast.getType() == HiveParser.TOK_ALTERTABLE_UPDATESTATS ||
 
 Review comment:
   We could make this a _switch_ statement too.

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


With regards,
Apache Git Services

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

Reply via email to