File tree 5 files changed +21
-28
lines changed 5 files changed +21
-28
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ if(ANTLR_EXECUTABLE AND Java_JAVA_EXECUTABLE)
156
156
OUTPUT ${ANTLR_${Name} _OUTPUTS}
157
157
COMMAND
158
158
${Java_JAVA_EXECUTABLE} -jar ${ANTLR_EXECUTABLE} ${InputFile} -o
159
- ${ANTLR_${Name} _ORIGINAL_OUTPUT_DIR } -no -listener -Dlanguage=Cpp
159
+ ${ANTLR_${Name} _OUTPUT_DIR } -no -listener -Dlanguage=Cpp
160
160
${ANTLR_TARGET_COMPILE_FLAGS}
161
161
DEPENDS ${InputFile} ${ANTLR_TARGET_DEPENDS}
162
162
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
Original file line number Diff line number Diff line change @@ -21,21 +21,8 @@ velox_add_library(
21
21
ClpDataSource.cpp
22
22
ClpTableHandle.cpp)
23
23
24
- velox_link_libraries(
25
- velox_clp_connector
26
- PRIVATE
27
- clp-s-search
28
- velox_connector
29
- simdjson::simdjson
30
- msgpack-cxx
31
- spdlog::spdlog
32
- absl::flat_hash_map
33
- Boost::filesystem
34
- Boost::headers)
35
-
36
- velox_include_directories(
37
- velox_clp_connector PUBLIC ${clp_SOURCE_DIR} /components/core/submodules
38
- ${CLP_SRC_DIR} )
24
+ velox_link_libraries(velox_clp_connector PRIVATE clp-s-search velox_connector
25
+ simdjson::simdjson)
39
26
40
27
target_compile_features (velox_clp_connector PRIVATE cxx_std_20)
41
28
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
+ #include " clp_s/TimestampPattern.hpp"
18
+
17
19
#include " velox/connectors/clp/ClpConnector.h"
18
20
#include " velox/connectors/clp/ClpDataSource.h"
19
21
@@ -46,4 +48,14 @@ std::unique_ptr<DataSink> ClpConnector::createDataSink(
46
48
VELOX_NYI (" createDataSink for ClpConnector is not implemented!" );
47
49
}
48
50
51
+ ClpConnectorFactory::ClpConnectorFactory ()
52
+ : ConnectorFactory(kClpConnectorName ) {
53
+ clp_s::TimestampPattern::init ();
54
+ }
55
+
56
+ ClpConnectorFactory::ClpConnectorFactory (const char * connectorName)
57
+ : ConnectorFactory(connectorName) {
58
+ clp_s::TimestampPattern::init ();
59
+ }
60
+
49
61
} // namespace facebook::velox::connector::clp
Original file line number Diff line number Diff line change 16
16
17
17
#pragma once
18
18
19
- #include " clp_s/TimestampPattern.hpp"
20
19
#include " velox/connectors/Connector.h"
21
20
#include " velox/connectors/clp/ClpConfig.h"
22
21
@@ -62,11 +61,8 @@ class ClpConnectorFactory : public ConnectorFactory {
62
61
public:
63
62
static constexpr const char * kClpConnectorName = " clp" ;
64
63
65
- ClpConnectorFactory () : ConnectorFactory(kClpConnectorName ) {}
66
- explicit ClpConnectorFactory (const char * connectorName)
67
- : ConnectorFactory(connectorName) {
68
- clp_s::TimestampPattern::init ();
69
- }
64
+ ClpConnectorFactory ();
65
+ explicit ClpConnectorFactory (const char * connectorName);
70
66
71
67
std::shared_ptr<Connector> newConnector (
72
68
const std::string& id,
Original file line number Diff line number Diff line change @@ -110,22 +110,20 @@ velox_include_directories(
110
110
111
111
velox_link_libraries(
112
112
clp-s-search
113
+ PUBLIC msgpack-cxx spdlog::spdlog
113
114
PRIVATE
115
+ absl::flat_hash_map
114
116
antlr4_static
115
117
Boost::filesystem
116
118
Boost::iostreams
117
119
Boost::program_options
118
120
Boost::url
119
- absl::flat_hash_map
120
121
clp::string_utils
121
122
${CURL_LIBRARIES}
122
123
glog::glog
123
124
OpenSSL::Crypto
124
125
simdjson::simdjson
125
- msgpack-cxx
126
+ velox_vector
126
127
ystdlib::containers
127
128
ystdlib::error_handling
128
- zstd::zstd
129
- spdlog::spdlog
130
- velox_vector
131
- velox_external_date)
129
+ zstd::zstd)
You can’t perform that action at this time.
0 commit comments