marton-bod commented on a change in pull request #2701:
URL: https://github.com/apache/hive/pull/2701#discussion_r724113786
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
##########
@@ -2366,7 +2366,9 @@ private void getMetaData(QB qb, ReadEntity parentInput)
"Inconsistent data structure detected: we are writing to " +
ts.tableHandle + " in " +
name + " but it's not in isInsertIntoTable() or
getInsertOverwriteTables()";
// Disallow update and delete on non-acid tables
- boolean isFullAcid = AcidUtils.isFullAcidTable(ts.tableHandle);
+ boolean isFullAcid =
Review comment:
There is a check right at the beginning, which allows running
DELETE/UPDATE queries only for acid tables
--
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]