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

[Rust][Parquet] Implement returning dictionary arrays from parquet reader #27299

Closed
asfimport opened this issue Jan 27, 2021 · 2 comments
Closed

Comments

@asfimport
Copy link

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

Reporter: Yordan Pavlov / @yordan-pavlov

Note: This issue was originally created as ARROW-11410. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Andrew Lamb / @alamb:
@yordan-pavlov I think this would be amazing – and we would definitely use it in IOx. This is the kind of thing that is on our longer term roadmap and I would love to help (e.g. code review, or testing , or documentation, etc).

Let me know!

@asfimport
Copy link
Author

Andrew Lamb / @alamb:
Migrated to github: apache/arrow-rs#171

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant