marton-bod commented on a change in pull request #2316: URL: https://github.com/apache/hive/pull/2316#discussion_r640666760
########## File path: iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java ########## @@ -328,6 +345,7 @@ static void overlayTableProperties(Configuration configuration, TableDesc tableD map.put(InputFormatConfig.TABLE_IDENTIFIER, props.getProperty(Catalogs.NAME)); map.put(InputFormatConfig.TABLE_LOCATION, table.location()); map.put(InputFormatConfig.TABLE_SCHEMA, schemaJson); + props.put(InputFormatConfig.PARTITION_SPEC, PartitionSpecParser.toJson(table.spec())); Review comment: You are right. However, all this code will soon be removed anyway after the table cache PR has been merged, so I would leave it as it is for now if that's OK with you. -- 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. 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