Skip to content

Commit c0695b0

Browse files
committed
Format
1 parent cbb5157 commit c0695b0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

presto-native-execution/presto_cpp/main/connectors/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ if(PRESTO_ENABLE_ARROW_FLIGHT_CONNECTOR)
1717
target_link_libraries(presto_connectors presto_flight_connector)
1818
endif()
1919

20-
target_link_libraries(presto_connectors presto_velox_expr_conversion
21-
velox_clp_connector velox_type_fbhive)
20+
target_link_libraries(
21+
presto_connectors presto_velox_expr_conversion velox_clp_connector
22+
velox_type_fbhive velox_type_fbclp_parser)

presto-native-execution/presto_cpp/main/connectors/PrestoToVeloxConnector.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include "presto_cpp/presto_protocol/connector/iceberg/IcebergConnectorProtocol.h"
2121
#include "presto_cpp/presto_protocol/connector/tpch/TpchConnectorProtocol.h"
2222

23+
#include <velox/type/fbclp/ClpTypeParser.h>
2324
#include <velox/type/fbhive/HiveTypeParser.h>
2425
#include "velox/connectors/clp/ClpColumnHandle.h"
2526
#include "velox/connectors/clp/ClpConnectorSplit.h"
@@ -1580,7 +1581,7 @@ ClpPrestoToVeloxConnector::toVeloxColumnHandle(
15801581
return std::make_unique<connector::clp::ClpColumnHandle>(
15811582
clpColumn->columnName,
15821583
clpColumn->originalColumnName,
1583-
typeParser.parse(clpColumn->columnType));
1584+
facebook::velox::type::fbclp::parseClpType(clpColumn->columnType));
15841585
}
15851586

15861587
std::unique_ptr<velox::connector::ConnectorTableHandle>

0 commit comments

Comments
 (0)