kishendas commented on a change in pull request #1095:
URL: https://github.com/apache/hive/pull/1095#discussion_r443063382



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java
##########
@@ -2426,19 +2423,13 @@ public static TableSnapshot 
getTableSnapshot(Configuration conf,
   }
 
   /**
-   * This is called by Hive.java for all write operations (DDL). Advance write 
id
-   * for the table via transaction manager, and store it in config. The write 
id
-   * will be marked as committed instantly in config, as all DDL are auto
-   * committed, there's no chance to rollback.
+   * This is called by Driver.java for all write operations (DDL). This 
updates the latest validWriteIdList in config,
+   * so that the same can be sent from HMS Client during invocation of get_* 
HMS APIs.
    */
-  public static ValidWriteIdList advanceWriteId(HiveConf conf, Table tbl) 
throws LockException {
-    if (!isTransactionalTable(tbl)) {

Review comment:
       This is outdated code. 




----------------------------------------------------------------
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]

Reply via email to