marton-bod commented on a change in pull request #2228:
URL: https://github.com/apache/iceberg/pull/2228#discussion_r603178526
##########
File path:
mr/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java
##########
@@ -142,12 +152,22 @@ public DecomposedPredicate decomposePredicate(JobConf
jobConf, Deserializer dese
}
/**
- * Returns the Table serialized to the configuration.
+ * Returns the Table serialized to the configuration based on the table name.
* @param config The configuration used to get the data from
+ * @param name The name of the table we need as returned by
TableDesc.getTableName()
* @return The Table
*/
- public static Table table(Configuration config) {
- return
SerializationUtil.deserializeFromBase64(config.get(InputFormatConfig.SERIALIZED_TABLE));
+ public static Table table(Configuration config, String name) {
+ return
SerializationUtil.deserializeFromBase64(config.get(InputFormatConfig.SERIALIZED_TABLE_PREFIX
+ name));
+ }
+
+ /**
+ * Returns the names of tha output tables stored in the configuration.
Review comment:
nit typo: `tha` -> `the`
--
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]