deniskuzZ commented on code in PR #4292: URL: https://github.com/apache/hive/pull/4292#discussion_r1200757391
########## iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergInputFormat.java: ########## @@ -143,6 +144,8 @@ public InputSplit[] getSplits(JobConf job, int numSplits) throws IOException { job.set(InputFormatConfig.AS_OF_TIMESTAMP, job.get(TableScanDesc.AS_OF_TIMESTAMP, "-1")); job.set(InputFormatConfig.SNAPSHOT_ID, job.get(TableScanDesc.AS_OF_VERSION, "-1")); job.set(InputFormatConfig.SNAPSHOT_ID_INTERVAL_FROM, job.get(TableScanDesc.FROM_VERSION, "-1")); + Optional.ofNullable(job.get(TableScanDesc.BRANCH_NAME)).ifPresent(branchName -> Review Comment: could we change to below to be consistent ```` job.set(InputFormatConfig. OUTPUT_TABLE_BRANCH, job.get(TableScanDesc. BRANCH_NAME, "")); ```` -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org