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

   ### Describe the enhancement requested
   
   `BinaryStatistics.updateStats(Binary)` compares each value with the current 
minimum and maximum. When the value is the same instance as one of these 
bounds, the result of the comparison is always equal. This occurs when a writer 
sends the same constant `Binary` instance again, for example values decoded 
from a dictionary.
   
   We suggest, to update `BinaryStatistics` in the `parquet-column` module to 
skip the comparisons when the value is the same instance as the minimum or the 
maximum. The resulting statistics do not change.
   
   ### Component(s)
   
   Core


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