diff --git a/velox/functions/sparksql/Hash.cpp b/velox/functions/sparksql/Hash.cpp index 2a4c735e05d6..20e1284b68c4 100644 --- a/velox/functions/sparksql/Hash.cpp +++ b/velox/functions/sparksql/Hash.cpp @@ -29,8 +29,8 @@ const int32_t kDefaultSeed = 42; struct Murmur3Hash; struct XxHash64; -/// A template struct that contains the seed and return type of the hash -/// function. +// A template struct that contains the seed and return type of the hash +// function. template struct HashTraits {}; @@ -82,8 +82,8 @@ ReturnType hashOne(StringView input, SeedType seed) { return HashClass::hashBytes(input, seed); } -/// Class to compute hashes identical to one produced by Spark. -/// Hashes are computed using the algorithm implemented in HashClass. +// Class to compute hashes identical to one produced by Spark. +// Hashes are computed using the algorithm implemented in HashClass. template < typename HashClass, typename SeedType = typename HashTraits::SeedType,