lifulong opened a new issue, #50062:
URL: https://github.com/apache/arrow/issues/50062

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   
https://github.com/apache/parquet-java/blob/b8f33308534e990003e48a2e66036ccc83fd5db4/parquet-column/src/main/java/org/apache/parquet/column/values/fallback/FallbackValuesWriter.java#L81
   
https://github.com/apache/parquet-java/blob/b8f33308534e990003e48a2e66036ccc83fd5db4/parquet-column/src/main/java/org/apache/parquet/column/values/dictionary/DictionaryValuesWriter.java#L129
   
   parquet-java will check raw data size, if raw data size is zero, it will 
fall back use plain encode. ((encodedSize + dictionaryByteSize) < rawSize)
   
   while arrow still use dictionary encode.
   
   ### Component(s)
   
   C++


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