willtemperley opened a new issue, #3307:
URL: https://github.com/apache/parquet-java/issues/3307

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   As discussed in https://github.com/apache/arrow/discussions/47113 , this 
package is writing the deprecated BIT_PACKING encoding to the column metadata 
and the DataPageHeader. This is only seems to happens when rep/def levels are 
empty. I think this is where it's happening:
   
   ```java
   public class DevNullValuesWriter extends ValuesWriter {
     ....
     public Encoding getEncoding() {
       return BIT_PACKED;
     }
   }
   ```
   
   Wouldn't it make sense to just return RLE?
   
   ### Component(s)
   
   _No response_


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to