kszucs commented on PR #45001:
URL: https://github.com/apache/arrow/pull/45001#issuecomment-2535964239

   Seems like we generate the same hash for both `NULL` and `0` which is not 
ideal.
   
   ```py
   In [1]: import pyarrow as pa
   
   In [2]: import pyarrow.compute as pc
   
   In [3]: pc.hash_64([None])
   Out[3]:
   <pyarrow.lib.UInt64Array object at 0x124247be0>
   [
     0
   ]
   
   In [4]: pc.hash_64([0])
   Out[4]:
   <pyarrow.lib.UInt64Array object at 0x1033027a0>
   [
     0
   ]
   ```


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