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.
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.