marton-bod commented on a change in pull request #2701:
URL: https://github.com/apache/hive/pull/2701#discussion_r724114920
##########
File path:
ql/src/java/org/apache/hadoop/hive/ql/parse/UpdateDeleteSemanticAnalyzer.java
##########
@@ -102,7 +102,11 @@ private void reparseAndSuperAnalyze(ASTNode tree) throws
SemanticException {
rewrittenQueryStr.append(getFullTableNameForSQL(tabName));
addPartitionColsToInsert(mTable.getPartCols(), rewrittenQueryStr);
- rewrittenQueryStr.append(" select ROW__ID");
+ if (mTable.getStorageHandler() != null &&
mTable.getStorageHandler().alwaysUnpartitioned()) {
+ rewrittenQueryStr.append(" select POS__DELETE");
Review comment:
For Iceberg, insert the POS__DELETE virtual column (<file_path, pos>)
into the table, not the ROW__ID
--
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]