sankarh commented on a change in pull request #579: HIVE-21109 : Support stats
replication for ACID tables.
URL: https://github.com/apache/hive/pull/579#discussion_r270652817
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
##########
@@ -694,7 +695,9 @@ public void alterTable(String catName, String dbName,
String tblName, Table newT
AcidUtils.TableSnapshot tableSnapshot = null;
if (transactional) {
if (replWriteId > 0) {
- ValidWriteIdList writeIds =
AcidUtils.getTableValidWriteIdListWithTxnList(conf, dbName, tblName);
+ ValidWriteIdList writeIds = new
ValidReaderWriteIdList(TableName.getDbTable(dbName, tblName),
Review comment:
Pls add a comment on why this hardcoding logic works for repl flow.
----------------------------------------------------------------
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]