advancedxy commented on code in PR #8579:
URL: https://github.com/apache/iceberg/pull/8579#discussion_r1448582861


##########
format/spec.md:
##########
@@ -986,6 +994,14 @@ The types below are not currently valid for bucketing, and 
so are not hashed. Ho
 | **`float`**        | `hashLong(doubleToLongBits(double(v))` [4]| `1.0F` → 
`-142385009`, `0.0F` → `1669671676`, `-0.0F` → `1669671676` |
 | **`double`**       | `hashLong(doubleToLongBits(v))`        [4]| `1.0D` → 
`-142385009`, `0.0D` → `1669671676`, `-0.0D` → `1669671676` |
 
+For multi-arg hash function, the hash value is the result of `hashBytes` on 
the concatenation of the bytes of the arguments in order, null input values are 
ignored.

Review Comment:
   I changed it a bit and removed Guava's hasher details.
   
   I checked other languages' murmur3 implementation, the basic interface is to 
accept a byte array and produce the hash value. So other language should 
implement multi-arg transform easily.



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to