kishendas commented on a change in pull request #1095:
URL: https://github.com/apache/hive/pull/1095#discussion_r446443965
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/DriverContext.java
##########
@@ -206,6 +208,9 @@ public ValidWriteIdList getCompactionWriteIds() {
public void setCompactionWriteIds(ValidWriteIdList compactionWriteIds) {
this.compactionWriteIds = compactionWriteIds;
+ if (compactionWriteIds != null) {
+ conf.set(ValidTxnWriteIdList.COMPACTOR_VALID_TABLES_WRITEIDS_KEY,
compactionWriteIds.toString());
Review comment:
We currently maintain the validWriteIds in DriverContext.
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/DriverContext.java
##########
@@ -214,6 +219,7 @@ public long getCompactorTxnId() {
public void setCompactorTxnId(long compactorTxnId) {
this.compactorTxnId = compactorTxnId;
+ conf.setLong(ValidTxnList.COMPACTOR_VALID_TXNS_ID_KEY, compactorTxnId);
Review comment:
We currently maintain the validWriteIds in DriverContext.
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]