Skip to content

Commit

Permalink
[native] Refactor PrestoToVeloxConnector for modularity
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiseksaikia committed Oct 30, 2024
1 parent 1c0fc17 commit acd4f3b
Show file tree
Hide file tree
Showing 14 changed files with 1,725 additions and 1,588 deletions.
3 changes: 3 additions & 0 deletions presto-native-execution/presto_cpp/main/PrestoServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@
#include "presto_cpp/main/operators/ShuffleRead.h"
#include "presto_cpp/main/operators/UnsafeRowExchangeSource.h"
#include "presto_cpp/main/types/FunctionMetadata.h"
#include "presto_cpp/main/types/HivePrestoToVeloxConnector.h"
#include "presto_cpp/main/types/IcebergPrestoToVeloxConnector.h"
#include "presto_cpp/main/types/PrestoToVeloxQueryPlan.h"
#include "presto_cpp/main/types/TpchPrestoToVeloxConnector.h"
#include "velox/common/base/Counters.h"
#include "velox/common/base/StatsReporter.h"
#include "velox/common/caching/CacheTTLController.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include "presto_cpp/main/tests/HttpServerWrapper.h"
#include "presto_cpp/main/tests/MultableConfigs.h"
#include "presto_cpp/main/types/PrestoToVeloxConnector.h"
#include "presto_cpp/main/types/HivePrestoToVeloxConnector.h"
#include "velox/common/base/Fs.h"
#include "velox/common/base/tests/GTestUtils.h"
#include "velox/common/file/FileSystems.h"
Expand Down
10 changes: 8 additions & 2 deletions presto-native-execution/presto_cpp/main/types/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,14 @@ target_link_libraries(presto_type_converter velox_type_parser)

add_library(
presto_types OBJECT
PrestoToVeloxQueryPlan.cpp PrestoToVeloxExpr.cpp VeloxPlanValidator.cpp
PrestoToVeloxSplit.cpp PrestoToVeloxConnector.cpp)
PrestoToVeloxQueryPlan.cpp
PrestoToVeloxExpr.cpp
VeloxPlanValidator.cpp
PrestoToVeloxSplit.cpp
PrestoToVeloxConnector.cpp
TpchPrestoToVeloxConnector.cpp
HivePrestoToVeloxConnector.cpp
IcebergPrestoToVeloxConnector.cpp)
add_dependencies(presto_types presto_operators presto_type_converter velox_type
velox_type_fbhive velox_dwio_dwrf_proto)

Expand Down
Loading

0 comments on commit acd4f3b

Please sign in to comment.