You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/01/21 03:01:55 UTC

[GitHub] [iceberg] rdblue opened a new pull request #3942: Spark: Fix SparkCatalog time travel check

rdblue opened a new pull request #3942:
URL: https://github.com/apache/iceberg/pull/3942


   This updates the time travel check in `SparkCatalog`. When loading a table from an Iceberg catalog results in a `NoSuchTableException`, the Spark catalog checks to see if the namespace is a valid table and then if the table name is a time travel name. If loading the namespace as a table fails, the original `NoSuchTableException` is thrown. But this only happened when `NoSuchTableException` was thrown by the second table load. If the Iceberg catalog instead threw `IllegalArgumentException` because the new identifier is invalid, that exception would propagate instead of the correct `NoSuchTableException`.
   
   This updates the check so that if the namespace doesn't load as a table for any reason, the original failure is thrown.


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


[GitHub] [iceberg] rdblue commented on pull request #3942: Spark: Fix SparkCatalog time travel check

Posted by GitBox <gi...@apache.org>.
rdblue commented on pull request #3942:
URL: https://github.com/apache/iceberg/pull/3942#issuecomment-1018122554


   FYI @bijanhoule


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


[GitHub] [iceberg] danielcweeks merged pull request #3942: Spark: Fix SparkCatalog time travel check

Posted by GitBox <gi...@apache.org>.
danielcweeks merged pull request #3942:
URL: https://github.com/apache/iceberg/pull/3942


   


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org