asfimport commented on issue #407:
URL: https://github.com/apache/parquet-format/issues/407#issuecomment-2184154163

   [Gang 
Wu](https://issues.apache.org/jira/browse/PARQUET-2255?#comment-17699686) / 
@wgtmac:
   These are good questions. Let me try to answer them from the perspective of 
Java:
   1. +0.0 and -0.0 are different things but they are equal on the Java side. 
https://stackoverflow.com/a/24238344
   1. Java does not have signaling NaN. And it only has a single NaN 
representation. <https://stackoverflow.com/a/25051746>
      
      To support better interoperability, I think we should do two things:
   - If +0.0 is inserted into the bloom filter, so should -0.0. Vice versa for 
-0.0.
   - No NaN should be inserted into the bloom filter. I doubt any user really 
wants to test existence of NaN.


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