Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: handle empty table response in unity api #1963

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

JonasDev1
Copy link
Contributor

@JonasDev1 JonasDev1 commented Dec 13, 2023

Description

The Databricks list table summaries API returns an empty 200 {} response when you try to list tables in a schema with no tables. This will cause an error in delta-rs during deserialisation because the tables field was requried in the model.

To fix the issue I have added a default tag to the model and added some tests.

(Hyrum's Law FTW)

@github-actions github-actions bot added binding/rust Issues for the Rust crate crate/core labels Dec 13, 2023
@rtyler rtyler enabled auto-merge (rebase) December 13, 2023 16:44
@rtyler rtyler merged commit fee96a7 into delta-io:main Dec 13, 2023
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/rust Issues for the Rust crate crate/core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants