[
https://issues.apache.org/jira/browse/HIVE-26443?focusedWorklogId=801885&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-801885
]
ASF GitHub Bot logged work on HIVE-26443:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 19/Aug/22 07:39
Start Date: 19/Aug/22 07:39
Worklog Time Spent: 10m
Work Description: 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?
Issue Time Tracking
-------------------
Worklog Id: (was: 801885)
Time Spent: 1h (was: 50m)
> Add priority queueing to compaction
> -----------------------------------
>
> Key: HIVE-26443
> URL: https://issues.apache.org/jira/browse/HIVE-26443
> Project: Hive
> Issue Type: New Feature
> Reporter: László Végh
> Assignee: László Végh
> Priority: Major
> Labels: pull-request-available
> Attachments: Pool based compaction queues.docx
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> The details can be found in the attached design doc.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)