ypsah commented on issue #46183: URL: https://github.com/apache/arrow/issues/46183#issuecomment-2854633796
I think I've got it: somehow, when the table only contains ˋ0.0ˋ, those zeros get serialized as ˋ-0ˋ the negative zero of the IEEE 754 standard, which has a different binary representation (ˋ0x3ff0000000000000ˋ) compared to the positive zero (ˋ0x0ˋ). Since the hash function we use for set lookup hashes the binary representation of the value: https://github.com/apache/arrow/blob/f27064399691129a47cc61f86118a8a3d5f8fbce/cpp/src/arrow/util/hashing.h#L91, the two don't compare equal. (Credit to @pitrou for leaving a helpful comment about it) I'm not sure how to proceed forward from this point on. Can someone from the community please advise? -- 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]
