jhorstmann opened a new issue, #7356:
URL: https://github.com/apache/arrow-rs/issues/7356

   **Describe the bug**
   <!--
   A clear and concise description of what the bug is.
   -->
   
   Not sure if this is really a bug, but it is a bit unexpected and has lead to 
compatibility issues before (<https://github.com/duckdb/duckdb/issues/14120>, 
now fixed). It also adds a little bit of metadata overhead, but that is 
probably not significant.
   
   **To Reproduce**
   <!--
   Steps to reproduce the behavior:
   -->
   
   Can be reproduced as a testcase in `parquet/src/column/writer/mod.rs`:
   ```rust
       #[test]
       fn test_column_writer_default_encoding_support_int32_empty() {
           check_encoding_write_support::<Int32Type>(
               WriterVersion::PARQUET_1_0,
               true,
               &[],
               Some(0), // dictionary page offset is set
               &[Encoding::PLAIN, Encoding::RLE],
           );
       }
   ```
   
   **Expected behavior**
   <!--
   A clear and concise description of what you expected to happen.
   -->
   
   To be discussed. There is actually a benefit to the current behavior when 
looking at `PageEncodingStats` (#7354), if one column chunk contains only 
nulls, and all other column chunks are dictionary encoded then the whole column 
could still be considered dictionary encoded.
   
   **Additional context**
   <!--
   Add any other context about the problem here.
   -->


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to