deniskuzZ commented on code in PR #3513:
URL: https://github.com/apache/hive/pull/3513#discussion_r949895012
##########
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/storage/compact/AlterTableCompactAnalyzer.java:
##########
@@ -53,20 +54,25 @@ protected void analyzeCommand(TableName tableName,
Map<String, String> partition
Map<String, String> mapProp = null;
boolean isBlocking = false;
+ String poolName = null;
for (int i = 0; i < command.getChildCount(); i++) {
- switch (command.getChild(i).getType()) {
- case HiveParser.TOK_TABLEPROPERTIES:
- mapProp = getProps((ASTNode) (command.getChild(i)).getChild(0));
- break;
- case HiveParser.TOK_BLOCKING:
- isBlocking = true;
- break;
- default:
- break;
+ Tree node = command.getChild(i);
+ switch (node.getType()) {
+ case HiveParser.TOK_TABLEPROPERTIES:
+ mapProp = getProps((ASTNode)(node).getChild(0));
Review Comment:
why `node` in round braces?
--
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]