This is an automated email from the ASF dual-hosted git repository.
JingsongLi pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-cpp.git
from a65f96a feat(catalog): add catalog interfaces, file system catalog
and snapshot commit utilities (#120)
add 3415b20 feat(format): add ORC format adapter, stream implementations
and builder utilities (#121)
No new revisions were added by this update.
Summary of changes:
src/paimon/format/orc/orc_adapter.cpp | 1580 ++++++++++++++++++++
src/paimon/format/orc/orc_adapter.h | 72 +
.../blob_file_format.h => orc/orc_file_format.h} | 34 +-
.../orc_file_format_factory.cpp} | 17 +-
.../orc_file_format_factory.h} | 6 +-
src/paimon/format/orc/orc_format_defs.h | 59 +
.../format/orc/orc_input_output_stream_test.cpp | 178 +++
src/paimon/format/orc/orc_input_stream_impl.cpp | 106 ++
src/paimon/format/orc/orc_input_stream_impl.h | 71 +
src/paimon/format/orc/orc_memory_pool.h | 63 +
.../file_position.h => format/orc/orc_metrics.h} | 21 +-
src/paimon/format/orc/orc_output_stream_impl.cpp | 68 +
.../orc_output_stream_impl.h} | 52 +-
.../orc_reader_builder.h} | 40 +-
src/paimon/format/orc/orc_writer_builder.h | 61 +
15 files changed, 2342 insertions(+), 86 deletions(-)
create mode 100644 src/paimon/format/orc/orc_adapter.cpp
create mode 100644 src/paimon/format/orc/orc_adapter.h
copy src/paimon/format/{blob/blob_file_format.h => orc/orc_file_format.h} (71%)
copy src/paimon/format/{blob/blob_file_format_factory.cpp =>
orc/orc_file_format_factory.cpp} (70%)
copy src/paimon/format/{blob/blob_file_format_factory.h =>
orc/orc_file_format_factory.h} (91%)
create mode 100644 src/paimon/format/orc/orc_format_defs.h
create mode 100644 src/paimon/format/orc/orc_input_output_stream_test.cpp
create mode 100644 src/paimon/format/orc/orc_input_stream_impl.cpp
create mode 100644 src/paimon/format/orc/orc_input_stream_impl.h
create mode 100644 src/paimon/format/orc/orc_memory_pool.h
copy src/paimon/{core/mergetree/lookup/file_position.h =>
format/orc/orc_metrics.h} (71%)
create mode 100644 src/paimon/format/orc/orc_output_stream_impl.cpp
copy src/paimon/format/{avro/avro_output_stream_impl.h =>
orc/orc_output_stream_impl.h} (51%)
copy src/paimon/format/{parquet/parquet_reader_builder.h =>
orc/orc_reader_builder.h} (59%)
create mode 100644 src/paimon/format/orc/orc_writer_builder.h