initial commit

This commit is contained in:
Vitaly Stoyan 2021-09-15 18:07:18 +03:00
parent 8d1bf1b675
commit 9bbdd39efc
6 changed files with 20 additions and 8 deletions

View File

@ -121,15 +121,14 @@ void registerFormats()
registerInputFormatProcessorRawBLOB(factory);
registerOutputFormatProcessorRawBLOB(factory);
#if !defined(ARCADIA_BUILD)
registerInputFormatProcessorORC(factory);
registerOutputFormatProcessorORC(factory);
registerInputFormatProcessorParquet(factory);
registerOutputFormatProcessorParquet(factory);
#if !defined(ARCADIA_BUILD)
registerInputFormatProcessorAvro(factory);
registerOutputFormatProcessorAvro(factory);
#endif
registerInputFormatProcessorArrow(factory);
registerOutputFormatProcessorArrow(factory);

View File

@ -1,5 +1,7 @@
#pragma once
#include "config_formats.h"
#if !defined(ARCADIA_BUILD)
# include "config_formats.h"
#endif
#if USE_ORC
#include <Processors/Formats/IInputFormat.h>

View File

@ -1,6 +1,7 @@
#pragma once
#include "config_formats.h"
#if !defined(ARCADIA_BUILD)
# include "config_formats.h"
#endif
#if USE_PARQUET
#include <Processors/Formats/IInputFormat.h>

View File

@ -1,6 +1,8 @@
#pragma once
#if !defined(ARCADIA_BUILD)
# include "config_formats.h"
#endif
#include "config_formats.h"
#if USE_PARQUET
# include <Processors/Formats/IOutputFormat.h>
# include <Formats/FormatSettings.h>

View File

@ -8,13 +8,15 @@ PEERDIR(
contrib/libs/msgpack
contrib/libs/protobuf
contrib/libs/apache/arrow
contrib/libs/apache/orc
)
ADDINCL(
contrib/libs/apache/arrow/src
contrib/libs/apache/orc/c++/include
)
CFLAGS(-DUSE_ARROW=1)
CFLAGS(-DUSE_ARROW=1 -DUSE_PARQUET=1 -DUSE_ORC=1)
SRCS(
Chunk.cpp
@ -56,8 +58,12 @@ SRCS(
Formats/Impl/MySQLOutputFormat.cpp
Formats/Impl/NullFormat.cpp
Formats/Impl/ODBCDriver2BlockOutputFormat.cpp
Formats/Impl/ORCBlockInputFormat.cpp
Formats/Impl/ORCBlockOutputFormat.cpp
Formats/Impl/ParallelFormattingOutputFormat.cpp
Formats/Impl/ParallelParsingInputFormat.cpp
Formats/Impl/ParquetBlockInputFormat.cpp
Formats/Impl/ParquetBlockOutputFormat.cpp
Formats/Impl/PostgreSQLOutputFormat.cpp
Formats/Impl/PrettyBlockOutputFormat.cpp
Formats/Impl/PrettyCompactBlockOutputFormat.cpp

View File

@ -7,13 +7,15 @@ PEERDIR(
contrib/libs/msgpack
contrib/libs/protobuf
contrib/libs/apache/arrow
contrib/libs/apache/orc
)
ADDINCL(
contrib/libs/apache/arrow/src
contrib/libs/apache/orc/c++/include
)
CFLAGS(-DUSE_ARROW=1)
CFLAGS(-DUSE_ARROW=1 -DUSE_PARQUET=1 -DUSE_ORC=1)
SRCS(
<? find . -name '*.cpp' | grep -v -F tests | grep -v -F examples | grep -v -F fuzzers | grep -v -P 'Avro|ORC|Parquet|CapnProto' | sed 's/^\.\// /' | sort ?>