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: Iceberg for format v1 #2718

Merged
merged 2 commits into from
Mar 5, 2024
Merged

fix: Iceberg for format v1 #2718

merged 2 commits into from
Mar 5, 2024

Conversation

vrongmeal
Copy link
Contributor

Currently this commit simply adds #[serde(default)] for fields that are required in v1 (or sets a valid default).

We do need more datasets to test this on. There's some deprecated stuff that might require more attention to support.

Currently this commit simply adds `#[serde(default)]` for fields that
are required in v1 (or sets a valid default).

We do need more datasets to test this on. There's some deprecated stuff
that might require more attention to support.

Signed-off-by: Vaibhav <vrongmeal@gmail.com>
Copy link
Collaborator

@tychoish tychoish left a comment

Choose a reason for hiding this comment

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

I feel like we could write some random generators for iceberg data and (maybe there are some scripts/generators that we could take advantage of?) and get that hooked up to the pytests to generate some datasets on the fly.

I also sort of want to test this through other object-storage layers, mostly because my trust of the object_store crate is pretty low.

Having said that, I don't think either of these things should block merging, and this patch is pretty great.

@vrongmeal vrongmeal enabled auto-merge (squash) March 5, 2024 08:46
@vrongmeal vrongmeal merged commit 492afa6 into main Mar 5, 2024
25 checks passed
@vrongmeal vrongmeal deleted the vrongmeal/iceberg-v1 branch March 5, 2024 08:59
tychoish pushed a commit that referenced this pull request Mar 5, 2024
Currently this commit simply adds `#[serde(default)]` for fields that
are required in v1 (or sets a valid default).

We do need more datasets to test this on. There's some deprecated stuff
that might require more attention to support.

Signed-off-by: Vaibhav <vrongmeal@gmail.com>
Sign up for free to 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.

None yet

2 participants