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

Failed to create checkpoint with "Parquet does not support writing empty structs" #2189

Closed
rtyler opened this issue Feb 16, 2024 · 2 comments
Assignees
Labels
binding/rust Issues for the Rust crate bug Something isn't working
Milestone

Comments

@rtyler
Copy link
Member

rtyler commented Feb 16, 2024

Environment

Delta-rs version: 0.16.5

Binding: rust

Environment: Linux/amd64

  • Cloud provider: AWS
  • OS:
  • Other:

Bug

What happened:

Spotted in some production logs, I need to figure out how this is possible:

ERROR Failed to create checkpoint for s3://REDACTED ParquetParseError { source: ArrowError("Parquet does not support writing empty structs") }    

What you expected to happen:

A checkpoint to be written 😄

How to reproduce it:

More details:

@rtyler rtyler added bug Something isn't working binding/rust Issues for the Rust crate labels Feb 16, 2024
@rtyler rtyler self-assigned this Feb 16, 2024
@rtyler rtyler added this to the Rust v0.18 milestone Feb 16, 2024
@rtyler
Copy link
Member Author

rtyler commented Feb 21, 2024

I believe this is coming out of the parquet_bytes_from_state function, which doesn't have any tests 😱

@rtyler
Copy link
Member Author

rtyler commented Feb 21, 2024

What is unlucky for me is that I took the transaction log from a table in production, 0.17 is able to checkpoint it, but 0.16.5 is not. Which means its identical to what is fixed by #2125

Unfortunately, that likely means I will have to incur the migration cost of the new DynamoDB changes for this application 😆

@rtyler rtyler closed this as completed Feb 21, 2024
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 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant