diff --git a/presto-native-execution/presto_cpp/main/PrestoServer.cpp b/presto-native-execution/presto_cpp/main/PrestoServer.cpp index 988895a824109..a86b03c3652c1 100644 --- a/presto-native-execution/presto_cpp/main/PrestoServer.cpp +++ b/presto-native-execution/presto_cpp/main/PrestoServer.cpp @@ -161,6 +161,8 @@ void registerVeloxCudf() { // Disable by default. velox::cudf_velox::CudfConfig::getInstance().enabled = false; auto systemConfig = SystemConfig::instance(); + velox::cudf_velox::CudfConfig::getInstance().functionNamePrefix = + systemConfig->prestoDefaultNamespacePrefix(); if (systemConfig->values().contains( velox::cudf_velox::CudfConfig::kCudfEnabled)) { velox::cudf_velox::CudfConfig::getInstance().initialize(