-
Notifications
You must be signed in to change notification settings - Fork 2
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
Reader cannot handle if only part of a column chunk is dictionary encoded #110
Labels
bug
an unexpected problem or unintended behavior
Comments
Here is a way to create such files. With a import pyarrow as pa
import pyarrow.parquet as pq
schema = pa.schema(fields=[
pa.field(name = 'x', type = pa.int32(), nullable = False)
])
data = [ range(2000) ]
table = pa.table(data = data, schema = schema)
pq.write_table(table, 'mixed-int32.parquet', dictionary_pagesize_limit = 400) With an import pyarrow as pa
import pyarrow.parquet as pq
table = pa.table({'x': pa.array(range(2000), type=pa.int32(), nullable = False)})
pq.write_table(table, 'mixed-int32-miss.parquet', dictionary_pagesize_limit = 400) |
This comment has been minimized.
This comment has been minimized.
This is now fixed by #117:
Release is coming soon! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is apparently possible.
Example file at https://github.com/nflverse/nflverse-data/releases/download/pbp/play_by_play_2023.parquet
A problematic column chunk is in column 28, between elements 12000:25000:
Originally posted by @jack-davison in #71
The text was updated successfully, but these errors were encountered: