Skip to content

Implement returning dictionary arrays from parquet reader #171

@alamb

Description

@alamb

Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-11410

Currently the Rust parquet reader returns a regular array (e.g. string array) even when the column is dictionary encoded in the parquet file.

If the parquet reader had the ability to return dictionary arrays for dictionary encoded columns this would bring many benefits such as:

  • faster reading of dictionary encoded columns from parquet (as no conversion/expansion into a regular array would be necessary)
  • more efficient memory use as the dictionary array would use less memory when loaded in memory
  • faster filtering operations as SIMD can be used to filter over the numeric keys of a dictionary string array instead of comparing string values in a string array

[~nevime] , [~alamb]  let me know what you think

Metadata

Metadata

Assignees

Labels

parquetChanges to the parquet crate

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions