Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[native] Advance velox, fix build and unit test. #24470

Merged
merged 1 commit into from
Feb 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ using namespace facebook::velox;
using namespace facebook::presto;

TEST(VeloxToPrestoExceptionTranslatorTest, exceptionTranslation) {
config::globalConfig.exceptionUserStacktraceEnabled = 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
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ add_dependencies(presto_types presto_operators presto_type_converter velox_type
velox_type_fbhive)

target_link_libraries(presto_types presto_type_converter velox_type_fbhive
velox_hive_partition_function velox_tpch_gen)
velox_hive_partition_function velox_tpch_gen velox_functions_json)

set_property(TARGET presto_types PROPERTY JOB_POOL_LINK presto_link_job_pool)

Expand Down
2 changes: 1 addition & 1 deletion presto-native-execution/velox
Submodule velox updated 78 files
+84 −1 .github/workflows/scheduled.yml
+4 −3 setup.py
+4 −4 velox/common/base/VeloxException.cpp
+4 −4 velox/common/base/tests/ExceptionTest.cpp
+4 −4 velox/common/caching/tests/AsyncDataCacheTest.cpp
+4 −1 velox/common/config/GlobalConfig.cpp
+1 −1 velox/common/config/GlobalConfig.h
+33 −16 velox/common/file/File.cpp
+45 −14 velox/common/file/File.h
+16 −9 velox/common/file/tests/FaultyFile.cpp
+9 −4 velox/common/file/tests/FaultyFile.h
+32 −3 velox/common/io/IoStatistics.cpp
+7 −0 velox/common/io/IoStatistics.h
+1 −1 velox/common/memory/MallocAllocator.cpp
+2 −2 velox/common/memory/Memory.cpp
+3 −3 velox/common/memory/Memory.h
+1 −1 velox/common/memory/MemoryAllocator.cpp
+2 −2 velox/common/memory/MemoryAllocator.h
+1 −1 velox/common/memory/MemoryPool.cpp
+1 −1 velox/common/memory/MemoryPool.h
+1 −1 velox/common/memory/MmapAllocator.cpp
+15 −10 velox/connectors/Connector.h
+0 −5 velox/connectors/hive/HiveConnectorUtil.h
+5 −0 velox/connectors/hive/HiveDataSource.cpp
+29 −14 velox/connectors/hive/storage_adapters/abfs/AbfsFileSystem.cpp
+13 −5 velox/connectors/hive/storage_adapters/abfs/AbfsReadFile.h
+11 −4 velox/connectors/hive/storage_adapters/gcs/GcsFileSystem.cpp
+9 −3 velox/connectors/hive/storage_adapters/hdfs/HdfsReadFile.cpp
+9 −3 velox/connectors/hive/storage_adapters/hdfs/HdfsReadFile.h
+9 −4 velox/connectors/hive/storage_adapters/s3fs/S3FileSystem.cpp
+4 −4 velox/core/PlanNode.h
+1 −1 velox/docs/functions/presto/map.rst
+2 −1 velox/dwio/common/CachedBufferedInput.h
+2 −1 velox/dwio/common/DirectBufferedInput.h
+4 −4 velox/dwio/common/InputStream.cpp
+19 −17 velox/dwio/common/compression/Compression.cpp
+7 −6 velox/dwio/common/tests/LoggedExceptionTest.cpp
+13 −7 velox/dwio/common/tests/TestBufferedInput.cpp
+1 −1 velox/dwio/common/tests/utils/DataSetBuilder.h
+8 −4 velox/dwio/dwrf/test/TestReadFile.h
+5 −2 velox/dwio/dwrf/test/TestStripeStream.cpp
+4 −0 velox/dwio/parquet/tests/reader/E2EFilterTest.cpp
+2 −1 velox/examples/CMakeLists.txt
+1 −0 velox/exec/CMakeLists.txt
+2 −0 velox/exec/Driver.cpp
+3 −0 velox/exec/Driver.h
+0 −12 velox/exec/ExchangeQueue.h
+593 −0 velox/exec/IndexLookupJoin.cpp
+161 −0 velox/exec/IndexLookupJoin.h
+16 −1 velox/exec/LocalPlanner.cpp
+2 −2 velox/exec/Operator.cpp
+2 −2 velox/exec/fuzzer/FuzzerUtil.cpp
+726 −36 velox/exec/tests/IndexLookupJoinTest.cpp
+1 −0 velox/exec/tests/utils/CMakeLists.txt
+255 −0 velox/exec/tests/utils/TestIndexStorageConnector.cpp
+282 −0 velox/exec/tests/utils/TestIndexStorageConnector.h
+6 −6 velox/expression/Expr.cpp
+1 −1 velox/expression/tests/ExprEncodingsTest.cpp
+5 −5 velox/expression/tests/ExprTest.cpp
+16 −16 velox/flag_definitions/flags.cpp
+8 −0 velox/functions/lib/ApproxMostFrequentStreamSummary.h
+12 −0 velox/functions/lib/tests/ApproxMostFrequentStreamSummaryTest.cpp
+58 −0 velox/functions/prestosql/JsonFunctions.cpp
+12 −0 velox/functions/prestosql/registration/JsonFunctionsRegistration.cpp
+13 −8 velox/functions/prestosql/tests/ArrayHasDuplicatesTest.cpp
+93 −0 velox/functions/prestosql/tests/JsonFunctionsTest.cpp
+10 −0 velox/functions/prestosql/tests/MapTopNTest.cpp
+40 −76 velox/functions/prestosql/types/JsonType.cpp
+43 −0 velox/functions/prestosql/types/JsonType.h
+9 −0 velox/py/CMakeLists.txt
+26 −0 velox/py/file/PyFile.cpp
+60 −0 velox/py/file/PyFile.h
+39 −0 velox/py/file/file.cpp
+26 −0 velox/py/file/file.pyi
+34 −0 velox/py/tests/test_file.py
+58 −24 velox/vector/ComplexVector.cpp
+6 −3 velox/vector/ComplexVector.h
+45 −32 velox/vector/tests/VectorTest.cpp
Loading