Mixing RLE_DICTIONARY and other column encodings in pyarrow parquet
- Dominant language
- C++
- Stars
- 17.1k
- Forks
- 4.3k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 88
Description
### Describe the bug, including details regarding any error messages, version, and platform.
The ValueError at https://github.com/apache/arrow/blob/aaeff72dd9cb4658913fde3d176416be9a93ebe0/python/pyarrow/_parquet.pyx#L1360-L1367 will raise anytime any column is custom encoded with a dictionary method. This makes it impossible to mix a dictionary encoded column with something like `DELTA_BINARY_PACKED`. I understand this is to prevent duplication of `use_dictionary`. Would it be okay to move this ValueError to the calling function instead? Does anything at the C++ level prevent this? https://github.com/apache/arrow/blob/aaeff72dd9cb4658913fde3d176416be9a93ebe0/python/pyarrow/_parquet.pyx#L1971-L1972
### Component(s)
Parquet, Python
Contributor guide
Assessment
This issue has not been assessed yet.