diff options
author | biwboris0 <biwboris0@yandex-team.ru> | 2022-02-10 16:52:18 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:52:18 +0300 |
commit | efa3b4ffd701f7a7b722ec7a3da4cc371f37f7b4 (patch) | |
tree | ab7fbbf3253d4c0e2793218f09378908beb025fb | |
parent | 98c1b6d9fd0160d9aa0d1ff3ae261c1628a66eaa (diff) | |
download | ydb-efa3b4ffd701f7a7b722ec7a3da4cc371f37f7b4.tar.gz |
Restoring authorship annotation for <biwboris0@yandex-team.ru>. Commit 2 of 2.
-rw-r--r-- | ydb/library/yql/udfs/common/digest/digest_udf.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ydb/library/yql/udfs/common/digest/digest_udf.cpp b/ydb/library/yql/udfs/common/digest/digest_udf.cpp index 7ff899f246c..7487a078dde 100644 --- a/ydb/library/yql/udfs/common/digest/digest_udf.cpp +++ b/ydb/library/yql/udfs/common/digest/digest_udf.cpp @@ -32,13 +32,13 @@ namespace { return TUnboxedValuePod(hash); } - SIMPLE_UDF(TCrc64, ui64(TAutoMap<char*>)) { - Y_UNUSED(valueBuilder); - const auto& inputRef = args[0].AsStringRef(); - ui64 hash = crc64(inputRef.Data(), inputRef.Size()); - return TUnboxedValuePod(hash); - } - + SIMPLE_UDF(TCrc64, ui64(TAutoMap<char*>)) { + Y_UNUSED(valueBuilder); + const auto& inputRef = args[0].AsStringRef(); + ui64 hash = crc64(inputRef.Data(), inputRef.Size()); + return TUnboxedValuePod(hash); + } + SIMPLE_UDF(TFnv32, ui32(TAutoMap<char*>)) { Y_UNUSED(valueBuilder); const auto& inputRef = args[0].AsStringRef(); @@ -352,7 +352,7 @@ namespace { SIMPLE_MODULE(TDigestModule, TCrc32c, - TCrc64, + TCrc64, TFnv32, TFnv64, TMurMurHash, |