deniskuzZ commented on code in PR #6259:
URL: https://github.com/apache/hive/pull/6259#discussion_r2705680193
##########
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java:
##########
@@ -2080,6 +2080,10 @@ public Partition
getPartition(org.apache.hadoop.hive.ql.metadata.Table table,
Map<String, String> partitionSpec, RewritePolicy policy) throws
SemanticException {
validatePartSpec(table, partitionSpec, policy);
try {
+ Table icebergTable = IcebergTableUtil.getTable(conf, table.getTTable());
Review Comment:
getTable() could be moved out of try block. i think same is true for
hasPartition check
--
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]