RussellSpitzer commented on a change in pull request #1784:
URL: https://github.com/apache/iceberg/pull/1784#discussion_r527272969
##########
File path: spark/src/main/java/org/apache/iceberg/actions/BaseSparkAction.java
##########
@@ -128,33 +127,56 @@
return manifestDF.union(otherMetadataFileDF).union(manifestListDF);
}
+ private static boolean isExpectedCatalogLookupException(Exception exception)
{
+ return exception.getMessage().contains("AnalysisException") ||
Review comment:
Just realized I can move all of this into the Spark3Util class and just
return null if we can't find it
##########
File path: spark/src/main/java/org/apache/iceberg/actions/BaseSparkAction.java
##########
@@ -128,33 +127,56 @@
return manifestDF.union(otherMetadataFileDF).union(manifestListDF);
}
+ private static boolean isExpectedCatalogLookupException(Exception exception)
{
+ return exception.getMessage().contains("AnalysisException") ||
Review comment:
Just realized I can move all of this into the Spark3Util class and just
return null if we can't find the table via that method
----------------------------------------------------------------
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]