From 87e7c8600a1a160c039495c0a72d6e23962483ef Mon Sep 17 00:00:00 2001 From: Amit Dutta Date: Sun, 19 Jan 2025 11:16:29 -0800 Subject: [PATCH] [native] Advance velox. --- .../presto_cpp/main/common/tests/CommonTest.cpp | 3 ++- presto-native-execution/velox | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/presto-native-execution/presto_cpp/main/common/tests/CommonTest.cpp b/presto-native-execution/presto_cpp/main/common/tests/CommonTest.cpp index 5c6355f33a912..7082c1526bf53 100644 --- a/presto-native-execution/presto_cpp/main/common/tests/CommonTest.cpp +++ b/presto-native-execution/presto_cpp/main/common/tests/CommonTest.cpp @@ -15,12 +15,13 @@ #include "presto_cpp/main/common/Exception.h" #include "presto_cpp/main/common/Utils.h" #include "velox/common/base/Exceptions.h" +#include "velox/common/config/GlobalConfig.h" using namespace facebook::velox; using namespace facebook::presto; TEST(VeloxToPrestoExceptionTranslatorTest, exceptionTranslation) { - FLAGS_velox_exception_user_stacktrace_enabled = true; + config::globalConfig.exceptionUserStacktraceEnabled = true; for (const bool withContext : {false, true}) { for (const bool withAdditionalContext : {false, true}) { SCOPED_TRACE(fmt::format("withContext: {}", withContext)); diff --git a/presto-native-execution/velox b/presto-native-execution/velox index f48c9047e975f..54c6d9e966428 160000 --- a/presto-native-execution/velox +++ b/presto-native-execution/velox @@ -1 +1 @@ -Subproject commit f48c9047e975f05664f969aea8635d4704113065 +Subproject commit 54c6d9e966428cf439a9c082613e575c05d75d40