-
Notifications
You must be signed in to change notification settings - Fork 461
Adjust the "table_exists" behavior in the REST Catalog #1018
Copy link
Copy link
Closed
Labels
good first issueGood for newcomersGood for newcomers
Description
Apache Iceberg version
0.7.0 (latest release)
Please describe the bug 🐞
Currently, we return True when the status code is 200 or 204, and False for all other status codes. According to the REST specification, we should return False when the catalog returns a 404 status code and raise an error for other status codes.
In the Java implementation, a try/catch block is used with load_table, and when it catches a NoSuchTableError, it currently returns False.
I believe that this behavior is suppressing errors and looks like it's a bug as reported in #1006
@kevinjqliu I noticed that you are looking into the Issue on the Polaris side and I believe that we need to adjust this on our side.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers
Type
Fields
Give feedbackNo fields configured for issues without a type.