Skip to content

Commit

Permalink
update docs to highlight 0 return for NULL values
Browse files Browse the repository at this point in the history
  • Loading branch information
kszucs committed Dec 17, 2024
1 parent 4d3ca91 commit 0733ae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/arrow/compute/kernels/scalar_hash.cc
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,15 @@ const FunctionDoc hash32_doc{
("An element-wise function that uses an xxHash-like algorithm.\n"
"This function is not suitable for cryptographic purposes.\n"
"Hash results are 32-bit and emitted for each valid row.\n"
"Null (or invalid) rows emit a null in the output."),
"Null (or invalid) rows emit a `0` in the output."),
{"hash_input"}};

const FunctionDoc hash64_doc{
"Construct a hash for every element of the input argument",
("An element-wise function that uses an xxHash-like algorithm.\n"
"This function is not suitable for cryptographic purposes.\n"
"Hash results are 64-bit and emitted for each valid row.\n"
"Null (or invalid) rows emit a null in the output."),
"Null (or invalid) rows emit a `0` in the output."),
{"hash_input"}};

} // namespace
Expand Down

0 comments on commit 0733ae9

Please sign in to comment.