rdsr commented on a change in pull request #1243:
URL: https://github.com/apache/iceberg/pull/1243#discussion_r463785255
##########
File path: mr/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergSerDe.java
##########
@@ -39,13 +38,7 @@
@Override
public void initialize(@Nullable Configuration configuration, Properties
serDeProperties) throws SerDeException {
- final Table table;
-
- try {
- table = TableResolver.resolveTableFromConfiguration(configuration,
serDeProperties);
- } catch (IOException e) {
- throw new UncheckedIOException("Unable to resolve table from
configuration: ", e);
- }
+ Table table = Catalogs.loadTable(configuration, serDeProperties);
Review comment:
might require a rebase
----------------------------------------------------------------
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]