sankarh commented on a change in pull request #647: HIVE-21766 : Select *
returns no rows in hive bootstrap from a statior dynamic partitioned managed
table with Timestamp type as partition column from on prem to WASB even though
count ( * ) matches
URL: https://github.com/apache/hive/pull/647#discussion_r287781889
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnTask.java
##########
@@ -85,7 +85,7 @@ public int execute(DriverContext driverContext) {
}
try {
- HiveTxnManager txnManager = driverContext.getCtx().getHiveTxnManager();
+ HiveTxnManager txnManager = driverContext.getReplTxnManager(conf);
Review comment:
Noticed in several places, SessionState.get().getTxnMgr() is used to get
txnmgr on which performed some operations. For example,
addWriteNotificationLog, Hive.getTable etc.
I think, those operations would be pointing to source metastore. Might go
wrong.
----------------------------------------------------------------
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]