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 handling of empty records in write_parquet #4874

Merged
merged 2 commits into from
Dec 20, 2024

Conversation

dominiklohmann
Copy link
Member

Parquet does fundamentally not support empty records. The commonly used workaround to this is to replace empty struct types with null types.

This was initially reported in Discord from a user that ran into this problem.

@dominiklohmann dominiklohmann added bug Incorrect behavior operator Source, transformation, and sink labels Dec 19, 2024
@dominiklohmann dominiklohmann force-pushed the topic/parquet-empty-records branch 2 times, most recently from 6892518 to 6a83d1c Compare December 19, 2024 17:19
Parquet does fundamentally not support empty records. The commonly used
workaround to this is to replace empty struct types with null types.
@dominiklohmann dominiklohmann force-pushed the topic/parquet-empty-records branch from 6a83d1c to 5a630fa Compare December 20, 2024 08:29
@dominiklohmann dominiklohmann merged commit d006589 into main Dec 20, 2024
72 checks passed
@dominiklohmann dominiklohmann deleted the topic/parquet-empty-records branch December 20, 2024 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect behavior operator Source, transformation, and sink
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants