[
https://issues.apache.org/jira/browse/HIVE-26735?focusedWorklogId=849244&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-849244
]
ASF GitHub Bot logged work on HIVE-26735:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 06/Mar/23 10:20
Start Date: 06/Mar/23 10:20
Worklog Time Spent: 10m
Work Description: deniskuzZ commented on code in PR #4077:
URL: https://github.com/apache/hive/pull/4077#discussion_r1126204883
##########
ql/src/java/org/apache/hadoop/hive/ql/Compiler.java:
##########
@@ -263,7 +263,7 @@ private void setLastReplIdForDump(HiveConf conf) throws
HiveException, TExceptio
private void openTransaction(TxnType txnType) throws LockException,
CommandProcessorException {
if (DriverUtils.checkConcurrency(driverContext) &&
startImplicitTxn(driverContext.getTxnManager()) &&
- !driverContext.getTxnManager().isTxnOpen() && txnType !=
TxnType.COMPACTION) {
+ !driverContext.getTxnManager().isTxnOpen() && txnType !=
TxnType.COMPACTION && txnType != TxnType.REBALANCE_COMPACTION) {
Review Comment:
could we extract the compaction part into a helper method `isCompactionTxn()`
Issue Time Tracking
-------------------
Worklog Id: (was: 849244)
Time Spent: 2h 50m (was: 2h 40m)
> Ability to sort the data during rebalancing compaction
> ------------------------------------------------------
>
> Key: HIVE-26735
> URL: https://issues.apache.org/jira/browse/HIVE-26735
> Project: Hive
> Issue Type: Sub-task
> Reporter: László Végh
> Assignee: László Végh
> Priority: Major
> Labels: pull-request-available
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
> Ability to sort the data during rebalancing compaction
--
This message was sent by Atlassian Jira
(v8.20.10#820010)