pvary commented on a change in pull request #3052:
URL: https://github.com/apache/hive/pull/3052#discussion_r815903312



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
##########
@@ -13130,8 +13131,7 @@ public void validate() throws SemanticException {
 
           LOG.debug("validated " + usedp.getName());
           LOG.debug(usedp.getTable().getTableName());
-          WriteEntity.WriteType writeType = writeEntity.getWriteType();
-          if (writeType != WriteType.UPDATE && writeType != WriteType.DELETE) {
+          if (!transactionalInQuery && conf.getBoolVar(HIVEARCHIVEENABLED)) {

Review comment:
       What happens with `transactionalInQuery` when we have multiple tables in 
the query? Say 1 transactional, and 1 with archives?




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

To unsubscribe, e-mail: [email protected]

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