From 414d210e932481fa9fce092e7673a30ae5f5c2f5 Mon Sep 17 00:00:00 2001 From: Krisztian Szucs Date: Mon, 16 Dec 2024 15:41:12 +0100 Subject: [PATCH] update docs to highlight 0 return for NULL values --- cpp/src/arrow/compute/kernels/scalar_hash.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/src/arrow/compute/kernels/scalar_hash.cc b/cpp/src/arrow/compute/kernels/scalar_hash.cc index cf4c1fcbfab1c..554669abedeed 100644 --- a/cpp/src/arrow/compute/kernels/scalar_hash.cc +++ b/cpp/src/arrow/compute/kernels/scalar_hash.cc @@ -183,7 +183,7 @@ 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{ @@ -191,7 +191,7 @@ const FunctionDoc hash64_doc{ ("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