Skip to content

Fix: Table-Exists if Server returns 204 - #739

Merged
Fokko merged 2 commits into
apache:mainfrom
c-thiel:fix/table-exists-return-code
May 23, 2024
Merged

Fix: Table-Exists if Server returns 204#739
Fokko merged 2 commits into
apache:mainfrom
c-thiel:fix/table-exists-return-code

Conversation

@c-thiel

Copy link
Copy Markdown
Contributor

Fixes#735

@amogh-jahagirdaramogh-jahagirdar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch @c-thiel and thanks for fixing! Change looks good, but if we could add a test similar to

deftest_table_exist_200(rest_mock: Mocker) ->None:
that would be great.

@c-thiel

Copy link
Copy Markdown
ContributorAuthor

@amogh-jahagirdar I added the test. Let me know if something else is missing!

@amogh-jahagirdaramogh-jahagirdar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks good, I'll wait for @HonahX@Fokko in case they have any comments before merging!

@HonahXHonahX left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for fixing this!

@FokkoFokko left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @c-thiel for fixing this 🙌! Thanks @HonahX and @amogh-jahagirdar for the review 🚀

@Fokko
Fokko merged commit 42afc43 into apache:mainMay 23, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rest Catalog: table_exist does not succeed on 204 response code

4 participants

@c-thiel@Fokko@amogh-jahagirdar@HonahX