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

   This is a fix for Spark table loading when a REST catalog does not support 
view extensions.
   
   The problem is that Spark runs `ResolveViews` before `ResolveTables` in the 
substitution batch of rules. With view support in the REST catalog, table 
references will result in a `loadView` call to check if the unresolved 
identifier is a view. If the catalog service does not support views, then a 4XX 
exception is thrown but not caught and used to indicate the view does not exist.
   
   This translates 4XX calls returned by the load view path to 
`NoSuchViewException` indicating that the service does not support views.


-- 
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-unsubscr...@iceberg.apache.org

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


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

Reply via email to