From 660432e0b84fdc332425542af3e71d81547889e7 Mon Sep 17 00:00:00 2001 From: Pradeep Vaka Date: Wed, 5 Feb 2025 14:28:12 -0800 Subject: [PATCH] Add operator override for xxhash64, combine_hash internal functions (#24503) Summary: TSIA Differential Revision: D68917161 --- .../presto_cpp/main/types/PrestoToVeloxExpr.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/presto-native-execution/presto_cpp/main/types/PrestoToVeloxExpr.cpp b/presto-native-execution/presto_cpp/main/types/PrestoToVeloxExpr.cpp index fe9731c116f4f..83d359f6d6aad 100644 --- a/presto-native-execution/presto_cpp/main/types/PrestoToVeloxExpr.cpp +++ b/presto-native-execution/presto_cpp/main/types/PrestoToVeloxExpr.cpp @@ -72,6 +72,12 @@ std::string mapScalarFunction(const std::string& name) { {"presto.default.$operator$subscript", util::addDefaultNamespacePrefix( prestoDefaultNamespacePrefix, "subscript")}, + {"presto.default.$operator$xx_hash_64", + util::addDefaultNamespacePrefix( + prestoDefaultNamespacePrefix, "xxhash64_internal")}, + {"presto.default.combine_hash", + util::addDefaultNamespacePrefix( + prestoDefaultNamespacePrefix, "combine_hash_internal")}, // Special form function overrides. {"presto.default.in", "in"}, };