marton-bod commented on a change in pull request #2701:
URL: https://github.com/apache/hive/pull/2701#discussion_r724122026
##########
File path:
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/mapreduce/IcebergInputFormat.java
##########
@@ -428,7 +439,16 @@ private static Schema readSchema(Configuration conf,
Schema tableSchema, boolean
return tableSchema;
}
- return caseSensitive ? tableSchema.select(selectedColumns) :
tableSchema.caseInsensitiveSelect(selectedColumns);
+ readSchema = caseSensitive ? tableSchema.select(selectedColumns) :
+ tableSchema.caseInsensitiveSelect(selectedColumns);
+
+ if (conf.get("hive.query.string").startsWith("DELETE")) {
Review comment:
When deleting, append the row_position metadata column to the end of the
schema
--
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]