deniskuzZ commented on code in PR #6394:
URL: https://github.com/apache/hive/pull/6394#discussion_r3008485501
##########
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergOutputCommitter.java:
##########
@@ -440,7 +440,7 @@ private void commitTable(FileIO io, ExecutorService
executor, OutputTable output
for (JobContext jobContext : jobContexts) {
JobConf conf = jobContext.getJobConf();
- table = Optional.ofNullable(table).orElseGet(() ->
Catalogs.loadTable(conf, catalogProperties));
+ table = Optional.ofNullable(table).orElseGet(() ->
IcebergTableUtil.getTable(conf, catalogProperties));
Review Comment:
let's see, i think it was intentional. there was no conflict found during
commit. but if that's not needed, we could save some calls
--
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]