Skip to content

Commit

Permalink
[native] Advance velox.
Browse files Browse the repository at this point in the history
  • Loading branch information
amitkdutta committed Jan 19, 2025
1 parent dfc6304 commit 87e7c86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion presto-native-execution/velox
Submodule velox updated 86 files
+1 −1 .github/workflows/benchmark.yml
+24 −3 .github/workflows/build-metrics.yml
+1 −1 .github/workflows/docker.yml
+2 −2 .github/workflows/linux-build-base.yml
+3 −3 .github/workflows/scheduled.yml
+1 −1 docker-compose.yml
+1 −1 scripts/prestojava-container.dockerfile
+4 −4 velox/buffer/tests/BufferTest.cpp
+1 −0 velox/buffer/tests/CMakeLists.txt
+2 −8 velox/common/base/CMakeLists.txt
+8 −5 velox/common/base/VeloxException.cpp
+0 −1 velox/common/base/VeloxException.h
+1 −0 velox/common/base/tests/CMakeLists.txt
+9 −4 velox/common/base/tests/ExceptionTest.cpp
+5 −4 velox/common/config/CMakeLists.txt
+23 −0 velox/common/config/GlobalConfig.cpp
+60 −0 velox/common/config/GlobalConfig.h
+0 −2 velox/common/memory/CMakeLists.txt
+1 −1 velox/common/memory/MallocAllocator.cpp
+0 −2 velox/common/memory/MallocAllocator.h
+3 −4 velox/common/memory/Memory.cpp
+4 −8 velox/common/memory/Memory.h
+1 −3 velox/common/memory/MemoryAllocator.cpp
+3 −5 velox/common/memory/MemoryAllocator.h
+1 −8 velox/common/memory/MemoryPool.cpp
+2 −5 velox/common/memory/MemoryPool.h
+1 −1 velox/common/memory/MmapAllocator.cpp
+1 −0 velox/common/memory/tests/CMakeLists.txt
+15 −8 velox/common/memory/tests/MemoryAllocatorTest.cpp
+3 −0 velox/common/memory/tests/MemoryCapExceededTest.cpp
+3 −0 velox/common/memory/tests/MemoryManagerTest.cpp
+0 −6 velox/connectors/hive/HiveConfig.cpp
+0 −9 velox/connectors/hive/HiveConfig.h
+1 −2 velox/connectors/hive/HiveConnectorUtil.cpp
+71 −108 velox/connectors/hive/storage_adapters/hdfs/tests/HdfsFileSystemTest.cpp
+16 −15 velox/connectors/hive/storage_adapters/hdfs/tests/HdfsMiniCluster.cpp
+14 −14 velox/connectors/hive/storage_adapters/hdfs/tests/HdfsMiniCluster.h
+0 −5 velox/connectors/hive/tests/HiveConfigTest.cpp
+3 −12 velox/connectors/hive/tests/HiveConnectorUtilTest.cpp
+2 −0 velox/core/PlanNode.h
+2 −2 velox/docs/develop/testing/row-number-fuzzer.rst
+1 −0 velox/dwio/common/tests/CMakeLists.txt
+8 −5 velox/dwio/common/tests/LoggedExceptionTest.cpp
+1 −0 velox/dwio/dwrf/test/CMakeLists.txt
+1 −1 velox/dwio/dwrf/test/TestDecompression.cpp
+2 −0 velox/dwio/dwrf/test/TestIntegerDictionaryEncoder.cpp
+2 −0 velox/dwio/dwrf/test/TestStringDictionaryEncoder.cpp
+1 −1 velox/exec/HashPartitionFunction.cpp
+3 −2 velox/exec/Operator.cpp
+15 −4 velox/exec/fuzzer/CMakeLists.txt
+37 −144 velox/exec/fuzzer/DuckQueryRunner.cpp
+13 −12 velox/exec/fuzzer/DuckQueryRunner.h
+3 −2 velox/exec/fuzzer/FuzzerUtil.cpp
+0 −6 velox/exec/fuzzer/FuzzerUtil.h
+23 −4 velox/exec/fuzzer/JoinFuzzer.cpp
+39 −199 velox/exec/fuzzer/PrestoQueryRunner.cpp
+13 −20 velox/exec/fuzzer/PrestoQueryRunner.h
+242 −0 velox/exec/fuzzer/ReferenceQueryRunner.cpp
+55 −20 velox/exec/fuzzer/ReferenceQueryRunner.h
+23 −21 velox/exec/fuzzer/RowNumberFuzzer.cpp
+2 −2 velox/exec/fuzzer/RowNumberFuzzer.h
+38 −5 velox/exec/fuzzer/RowNumberFuzzerRunner.cpp
+0 −72 velox/exec/fuzzer/RowNumberFuzzerRunner.h
+0 −7 velox/exec/tests/CMakeLists.txt
+118 −0 velox/exec/tests/PrestoQueryRunnerTest.cpp
+12 −22 velox/exec/tests/TableScanTest.cpp
+1 −0 velox/exec/tests/utils/CMakeLists.txt
+2 −0 velox/exec/tests/utils/OperatorTestBase.cpp
+2 −1 velox/flag_definitions/CMakeLists.txt
+35 −0 velox/flag_definitions/flags.cpp
+19 −0 velox/flag_definitions/flags.h
+1 −1 velox/functions/prestosql/aggregates/ApproxDistinctAggregate.cpp
+1 −1 velox/functions/prestosql/aggregates/ChecksumAggregate.cpp
+1 −1 velox/functions/prestosql/aggregates/PrestoHasher.cpp
+0 −7 velox/functions/prestosql/fuzzer/AggregationFuzzerTest.cpp
+1 −0 velox/functions/remote/benchmarks/CMakeLists.txt
+2 −0 velox/functions/sparksql/fuzzer/SparkQueryRunner.h
+2 −0 velox/py/tests/test_arrow.py
+2 −0 velox/py/tests/test_type.py
+2 −0 velox/py/tests/test_vector.py
+18 −0 velox/tool/trace/CMakeLists.txt
+26 −0 velox/tool/trace/TraceFileToolMain.cpp
+120 −0 velox/tool/trace/TraceFileToolRunner.cpp
+60 −0 velox/tool/trace/TraceFileToolRunner.h
+2 −0 velox/tool/trace/tests/CMakeLists.txt
+271 −0 velox/tool/trace/tests/TraceFileToolTest.cpp

0 comments on commit 87e7c86

Please sign in to comment.