difin commented on code in PR #5248:
URL: https://github.com/apache/hive/pull/5248#discussion_r1640356967
##########
ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveStorageHandler.java:
##########
@@ -746,6 +746,11 @@ default void
validatePartSpec(org.apache.hadoop.hive.ql.metadata.Table hmsTable,
throw new UnsupportedOperationException("Storage handler does not support
validation of partition values");
}
+ default void validatePartAnySpec(org.apache.hadoop.hive.ql.metadata.Table
hmsTable, Map<String, String> partitionSpec)
Review Comment:
Validates that the provided partitionSpec is a valid according to the
current or past table partitioning.
The existing method validatePartSpec validates that the spec is valid based
on current table partitioning only. This isn't enough for Iceberg compaction on
partition level with evolution because the partition spec provided in
compaction command may correspond for an old partitioning.
--
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]