You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enable access to column dictionaries in async reader #9010
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Some databases, one example being Grafana Tempo, utilize column dictionaries as makeshift column indexes, to improve filtering speed ad-hoc. Checking if low-cardinality value is present in dictionary allows to effectively pre-filter data by skipping whole row group
Describe the solution you'd like
Add API to ParquetRecordBatchStreamBuilder that allows to inspect contents of the dictionary
Describe alternatives you've considered
Column indexes have high expected size cost and are not always available (e.g. for legacy data)
Additional context
It is possible to access this information in SerializedFileReader already by using "peekable" page iterator
Activity
feat(parquet): decode dictionary pages independent of the array reader
feat(parquet): decode dictionary pages independent of the array reader
feat(parquet): decode dictionary pages independent of the array reader
feat(parquet): decode dictionary pages independent of the array reader
feat(parquet): provide direct access to dictionary pages (apache#10420)