Skip to content

Commit

Permalink
[OPPRO-234] Upgrade velox to 9.1 version (oap-project#356)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhejiangxiaomai authored Sep 7, 2022
1 parent 033f34c commit 8de0471
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion cpp/velox/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ macro(ADD_VELOX_DEPENDENCIES)
add_velox_dependency(functions::prestosql "${VELOX_COMPONENTS_PATH}/functions/prestosql/registration/libvelox_functions_prestosql.a")
add_velox_dependency(functions::prestosql::impl "${VELOX_COMPONENTS_PATH}/functions/prestosql/libvelox_functions_prestosql_impl.a")
add_velox_dependency(functions::json "${VELOX_COMPONENTS_PATH}/functions/prestosql/json/libvelox_functions_json.a")
add_velox_dependency(functions::hyperloglog "${VELOX_COMPONENTS_PATH}/functions/prestosql/hyperloglog/libvelox_functions_hyperloglog.a")
add_velox_dependency(functions::hyperloglog "${VELOX_COMPONENTS_PATH}/common/hyperloglog/libvelox_common_hyperloglog.a")
add_velox_dependency(functions::lib "${VELOX_COMPONENTS_PATH}/functions/lib/libvelox_functions_lib.a")
add_velox_dependency(exec::test::util "${VELOX_COMPONENTS_PATH}/exec/tests/utils/libvelox_exec_test_util.a")
add_velox_dependency(parse::parser "${VELOX_COMPONENTS_PATH}/parse/libvelox_parse_parser.a")
Expand Down Expand Up @@ -128,6 +128,7 @@ macro(ADD_VELOX_DEPENDENCIES)
add_velox_dependency(common::time "${VELOX_COMPONENTS_PATH}/common/time/libvelox_time.a")
add_velox_dependency(common::file "${VELOX_COMPONENTS_PATH}/common/file/libvelox_file.a")
add_velox_dependency(common::process "${VELOX_COMPONENTS_PATH}/common/process/libvelox_process.a")
add_velox_dependency(common::testutil "${VELOX_COMPONENTS_PATH}/common/testutil/libvelox_test_util.a")

add_velox_dependency(external::md5 "${VELOX_COMPONENTS_PATH}/external/md5/libmd5.a")
add_velox_dependency(external::date "${VELOX_COMPONENTS_PATH}/external/date/libvelox_external_date.a")
Expand Down
4 changes: 2 additions & 2 deletions cpp/velox/compute/VeloxPlanConverter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ void VeloxInitializer::Init() {
connector::hive::HiveConnectorFactory::kHiveConnectorName)
->newConnector(kHiveConnectorId, nullptr);
registerConnector(hiveConnector);
// parquet::registerParquetReaderFactory(ParquetReaderType::NATIVE);
parquet::registerParquetReaderFactory(ParquetReaderType::DUCKDB);
parquet::registerParquetReaderFactory(ParquetReaderType::NATIVE);
// parquet::registerParquetReaderFactory(ParquetReaderType::DUCKDB);
dwrf::registerDwrfReaderFactory();
// Register Velox functions
functions::prestosql::registerAllScalarFunctions();
Expand Down

0 comments on commit 8de0471

Please sign in to comment.