Skip to content

Rest Catalog: table_exist does not succeed on 204 response code #735

Closed
@c-thiel

Description

@c-thiel

Apache Iceberg version

main (development)

Please describe the bug 🐞

Currently table_exists only returns true on 200:

return response.status_code == 200

According to the spec, it should return true on 204 (and probably 200 as well):
https://github.com/apache/iceberg/blob/ea916c1700ef37377d3e8bba1197b3fe32d1a248/open-api/rest-catalog-open-api.yaml#L820-L829

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions