Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

parquet_write example no longer working #1187

Closed
rajasekarv opened this issue Jul 25, 2022 · 2 comments · Fixed by #1193
Closed

parquet_write example no longer working #1187

rajasekarv opened this issue Jul 25, 2022 · 2 comments · Fixed by #1193
Labels
documentation Improvements or additions to documentation no-changelog Issues whose changes are covered by a PR and thus should not be shown in the changelog

Comments

@rajasekarv
Copy link
Contributor

cargo run --release --example parquet_write --all-features produces

thread 'main' panicked at 'called Result::unwrap() on an Err value: InvalidArgumentError("The datatype Int32 cannot be encoded by RleDictionary")', /home/raja/work/rust/arrow2/src/io/parquet/write/row_group.rs:39:90

@jorgecarleitao jorgecarleitao added the documentation Improvements or additions to documentation label Jul 26, 2022
@jorgecarleitao
Copy link
Owner

Hey @rajasekarv , oops, sorry for that - basically we need to use Encoding::Plain encoding for non-dictionary-encoded arrow arrays.

Would you like me to fix it, or should you?

@rajasekarv
Copy link
Contributor Author

Hi @jorgecarleitao . I knew the issue. Just pointed out that it is no longer compiling. Will raise a PR with the fix.

@jorgecarleitao jorgecarleitao added the no-changelog Issues whose changes are covered by a PR and thus should not be shown in the changelog label Jul 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation no-changelog Issues whose changes are covered by a PR and thus should not be shown in the changelog
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants