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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to