This is an automated email from the ASF dual-hosted git repository.
jiangtian pushed a change to branch rc/2.0.2
in repository https://gitbox.apache.org/repos/asf/tsfile.git
discard fcd439c9 Fix date string parse error (#413)
discard 45fa5a8f Fix float encoder overflow when float value itself over int
range (#412)
add fc3ab700 Bump org.codehaus.mojo:exec-maven-plugin from 1.1.1 to 3.5.0
(#392)
add 535de84c Update doap_tsfile.rdf
add 1beaf27c support C wrapper for tsfile v4. (#387)
add abfbfb8c Fix float encoder overflow when float value itself over int
range (#412)
add 06036eff Fix date string parse error (#413)
add c09988eb update github workflow for cpp
add 8f4fffea Revert "update github workflow for cpp"
add 2882d5d9 C++ Tsfile V4 read (#409)
add 1bb58c77 correct version in readme
add 642cea81 fix snappy double free bug and add ut (#416)
add 0f1ab168 Example c cpp (#418)
add 43e81495 compaction adapting new type when table alter column type
(#415)
add 128d3918 Fix losing first page and missing time column in result set
metadata (#420)
add 5ab2840a Add support for py V4. (#388)
add 2c2e9117 Fix large page read and bitmap index (#427)
add 434f0cb7 Fix bugs and optimize TS2diff encoding. (#428)
add 5b923291 Add cpp read comment (#426)
add e18bd44d fix read multi-large pages (#429)
add c852f8d5 Fix demos & multi device & multi flush (#431)
add 5dc3ee5e Separate header file dependencies for test and src. (#364)
add 69ff73d7 fix compile in demo_cpp. (#432)
add 8b44f2f7 Release pointer in demo_write.cpp; Fix the error usage of
maven in cpp example (#430)
add 89a31913 Fix py read error (#433)
add 0adbc26b fix for reset bug and add ut (#435)
add bb55b9ae revert last change in cmake list (#438)
add 9c45be51 Refactor header packaging & fix zlib missing header (#434)
add a6581623 primitive type compatible (#437)
add 271fa6d0 Fix data losing and loading tsfile in iotdb.
add d4a11413 fix column datatype mismatch (#444)
add ef11ec92 fix writer add memory threshold. (#446)
add ee25c3fb Fixed the empty string ser/de bug & null string[] array
calculation bug
add 37dcffbc add getter for encryptParam (#447)
add 24f8d4c5 Update version
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (fcd439c9)
\
N -- N -- N refs/heads/rc/2.0.2 (24f8d4c5)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.../{unit-test-cpp-py.yml => unit-test-cpp.yml} | 48 +-
.../{unit-test-cpp-py.yml => unit-test-python.yml} | 5 +-
.gitignore | 4 +
README-zh.md | 2 +-
README.md | 2 +-
cpp/.gitignore | 3 +-
cpp/CMakeLists.txt | 72 +-
cpp/README-zh.md | 2 +-
cpp/README.md | 34 +-
cpp/cmake/CopyToDir.cmake | 51 +
cpp/examples/CMakeLists.txt | 17 +-
cpp/examples/README.md | 79 +
cpp/examples/build.sh | 2 +-
cpp/examples/c_examples/c_examples.c | 133 --
cpp/examples/c_examples/c_examples.h | 15 +-
cpp/examples/c_examples/demo_read.c | 110 ++
cpp/examples/c_examples/demo_write.c | 91 +
cpp/examples/cpp_examples/cpp_examples.h | 11 +
cpp/examples/cpp_examples/demo_read.cpp | 130 +-
cpp/examples/cpp_examples/demo_write.cpp | 126 +-
cpp/examples/examples.cc | 2 +
cpp/examples/test_cpp.tsfile | Bin 0 -> 447 bytes
cpp/pom.xml | 17 +-
cpp/src/CMakeLists.txt | 42 +-
cpp/src/common/CMakeLists.txt | 3 +
cpp/src/common/allocator/alloc_base.h | 5 +-
cpp/src/common/allocator/byte_stream.h | 70 +-
cpp/src/common/allocator/my_string.h | 7 +
cpp/src/common/allocator/object_pool.h | 110 --
cpp/src/common/allocator/page_arena.cc | 2 -
cpp/src/common/allocator/stl_allocator.h | 90 -
cpp/src/common/allocator/util_define.h | 152 --
cpp/src/common/cache/lru_cache.h | 172 ++
cpp/src/common/config/config.h | 9 +-
cpp/src/common/container/list.h | 1 +
cpp/src/common/container/sorted_array.h | 2 +-
cpp/src/common/datatype/CMakeLists.txt | 18 -
cpp/src/common/db_common.h | 19 +
cpp/src/common/device_id.h | 8 +-
cpp/src/common/global.cc | 45 +-
cpp/src/common/global.h | 5 +-
cpp/src/common/path.h | 38 +-
cpp/src/common/row_record.h | 12 +-
cpp/src/common/schema.h | 591 +++---
cpp/src/common/statistic.h | 137 +-
cpp/src/common/tablet.cc | 128 +-
cpp/src/common/tablet.h | 101 +-
cpp/src/common/tsblock/tsblock.cc | 15 +-
cpp/src/common/tsblock/tsblock.h | 63 +-
cpp/src/common/tsblock/tuple_desc.cc | 2 +-
cpp/src/common/tsblock/tuple_desc.h | 21 +-
cpp/src/common/tsblock/vector/vector.h | 2 +
cpp/src/common/tsfile_common.cc | 23 +-
cpp/src/common/tsfile_common.h | 1879 ++++++++++----------
cpp/src/compress/CMakeLists.txt | 2 +
cpp/src/compress/lz4_compressor.h | 2 +-
cpp/src/compress/lzo_compressor.h | 2 +-
cpp/src/compress/snappy_compressor.cc | 6 +-
cpp/src/compress/snappy_compressor.h | 2 -
cpp/src/cwrapper/CMakeLists.txt | 6 +-
cpp/src/cwrapper/TsFile-cwrapper.cc | 853 ---------
cpp/src/cwrapper/TsFile-cwrapper.h | 235 ---
cpp/src/cwrapper/errno_define_c.h | 76 +
cpp/src/cwrapper/tsfile_cwrapper.cc | 702 ++++++++
cpp/src/cwrapper/tsfile_cwrapper.h | 577 ++++++
cpp/src/cwrapper/tsfile_cwrapper_expression.cc | 207 +++
cpp/src/cwrapper/tsfile_cwrapper_expression.h | 101 ++
cpp/src/encoding/CMakeLists.txt | 18 +-
cpp/src/encoding/dictionary_decoder.h | 5 +-
cpp/src/encoding/dictionary_encoder.h | 2 +-
cpp/src/encoding/ts2diff_decoder.h | 28 +-
cpp/src/encoding/ts2diff_encoder.h | 74 +-
cpp/src/file/CMakeLists.txt | 6 +-
cpp/src/file/tsfile_io_reader.cc | 65 +-
cpp/src/file/tsfile_io_reader.h | 196 +-
cpp/src/file/tsfile_io_writer.cc | 89 +-
cpp/src/file/tsfile_io_writer.h | 19 +-
cpp/src/file/write_file.cc | 1 +
cpp/src/file/write_file.h | 1 +
cpp/src/parser/CMakeLists.txt | 3 +
cpp/src/reader/CMakeLists.txt | 6 +-
cpp/src/reader/aligned_chunk_reader.cc | 54 +-
cpp/src/reader/aligned_chunk_reader.h | 13 +-
.../reader/block/device_ordered_tsblock_reader.cc | 92 +
.../reader/block/device_ordered_tsblock_reader.h | 60 +
.../reader/block/single_device_tsblock_reader.cc | 390 ++++
.../reader/block/single_device_tsblock_reader.h | 171 ++
.../block/tsblock_reader.h} | 33 +-
cpp/src/reader/bloom_filter.cc | 2 +-
cpp/src/reader/chunk_reader.cc | 6 +-
cpp/src/reader/chunk_reader.h | 3 +-
cpp/src/reader/column_mapping.h | 83 +
cpp/src/reader/device_meta_iterator.cc | 112 ++
cpp/src/reader/device_meta_iterator.h | 59 +
.../constant => reader/filter}/CMakeLists.txt | 0
cpp/src/reader/ichunk_reader.h | 1 -
cpp/src/reader/imeta_data_querier.h | 62 +
cpp/src/reader/meta_data_querier.cc | 105 ++
cpp/src/reader/meta_data_querier.h | 82 +
cpp/src/reader/qds_with_timegenerator.cc | 44 +-
cpp/src/reader/qds_with_timegenerator.h | 6 +-
cpp/src/reader/qds_without_timegenerator.cc | 40 +-
cpp/src/reader/qds_without_timegenerator.h | 6 +-
cpp/src/reader/result_set.h | 122 +-
cpp/src/reader/scan_iterator.cc | 14 +-
cpp/src/reader/scan_iterator.h | 14 +-
cpp/src/reader/table_query_executor.cc | 80 +
cpp/src/reader/table_query_executor.h | 80 +
cpp/src/reader/table_result_set.cc | 116 ++
cpp/src/reader/table_result_set.h | 57 +
.../task/device_query_task.cc} | 36 +-
cpp/src/reader/task/device_query_task.h | 72 +
.../task/device_task_iterator.cc} | 34 +-
cpp/src/reader/task/device_task_iterator.h | 62 +
cpp/src/reader/tsfile_reader.cc | 85 +-
cpp/src/reader/tsfile_reader.h | 99 +-
cpp/src/reader/tsfile_series_scan_iterator.cc | 7 +-
cpp/src/reader/tsfile_series_scan_iterator.h | 8 +-
cpp/src/utils/CMakeLists.txt | 9 +-
cpp/src/utils/db_utils.h | 203 ++-
cpp/src/utils/errno_define.h | 6 +-
cpp/src/utils/injection.h | 4 -
cpp/src/utils/storage_utils.h | 27 +-
cpp/src/writer/CMakeLists.txt | 6 +-
cpp/src/writer/chunk_writer.cc | 32 +-
cpp/src/writer/chunk_writer.h | 11 +-
cpp/src/writer/page_writer.cc | 12 +-
cpp/src/writer/time_chunk_writer.cc | 33 +-
cpp/src/writer/time_chunk_writer.h | 11 +-
cpp/src/writer/time_page_writer.cc | 24 +-
cpp/src/writer/tsfile_table_writer.cc | 35 +-
cpp/src/writer/tsfile_table_writer.h | 79 +-
cpp/src/writer/tsfile_writer.cc | 369 ++--
cpp/src/writer/tsfile_writer.h | 70 +-
cpp/src/writer/value_chunk_writer.cc | 33 +-
cpp/src/writer/value_chunk_writer.h | 11 +-
cpp/src/writer/value_page_writer.cc | 12 +-
cpp/src/writer/value_page_writer.h | 6 +-
cpp/test/CMakeLists.txt | 105 +-
cpp/test/common/schema_test.cc | 90 +-
cpp/test/common/statistic_test.cc | 3 +-
cpp/test/common/tablet_test.cc | 2 -
cpp/test/common/tsblock/tslock_test.cc | 16 +-
cpp/test/common/tsblock/tuple_desc_test.cc | 30 +-
cpp/test/common/tsfile_common_test.cc | 22 +-
cpp/test/cwrapper/c_release_test.cc | 337 ++++
cpp/test/cwrapper/cwrapper_test.cc | 176 +-
cpp/test/encoding/ts2diff_codec_test.cc | 103 +-
cpp/test/parser/path_name_test.cc | 46 +-
.../reader/table_view/tsfile_reader_table_test.cc | 378 ++++
cpp/test/reader/tsfile_reader_test.cc | 13 +-
cpp/test/utils/db_utils_test.cc | 58 +-
cpp/test/writer/chunk_writer_test.cc | 12 +-
.../writer/table_view/tsfile_writer_table_test.cc | 133 +-
cpp/test/writer/time_chunk_writer_test.cc | 12 +-
cpp/test/writer/tsfile_writer_test.cc | 267 ++-
cpp/test/writer/value_chunk_writer_test.cc | 12 +-
cpp/third_party/google_snappy/snappy.cc | 4 +
cpp/third_party/zlib-1.2.13/CMakeLists.txt | 1 +
.../zlib-1.2.13/{zconf.h.in => zconf.h} | 0
doap_tsfile.rdf | 16 +
java/common/pom.xml | 2 +-
.../org/apache/tsfile/utils/RamUsageEstimator.java | 16 +-
.../org/apache/tsfile/utils/TsPrimitiveType.java | 25 +
java/examples/pom.xml | 4 +-
java/pom.xml | 4 +-
java/tools/pom.xml | 6 +-
java/tsfile/README-zh.md | 6 +-
java/tsfile/README.md | 6 +-
java/tsfile/pom.xml | 4 +-
.../apache/tsfile/common/conf/TSFileConfig.java | 2 -
.../org/apache/tsfile/encrypt/EncryptUtils.java | 120 +-
.../metadata/AbstractAlignedChunkMetadata.java | 12 +
.../apache/tsfile/file/metadata/ChunkMetadata.java | 20 +
.../tsfile/file/metadata/IChunkMetadata.java | 4 +
.../apache/tsfile/read/TsFileSequenceReader.java | 2 +-
.../apache/tsfile/read/UnClosedTsFileReader.java | 2 +-
.../java/org/apache/tsfile/read/common/Chunk.java | 187 +-
.../tsfile/read/reader/page/LazyLoadPageData.java | 2 +-
.../org/apache/tsfile/utils/ReadWriteIOUtils.java | 4 +-
.../java/org/apache/tsfile/write/TsFileWriter.java | 20 +-
.../write/chunk/AlignedChunkGroupWriterImpl.java | 2 +-
.../tsfile/write/chunk/AlignedChunkWriterImpl.java | 6 +-
.../apache/tsfile/write/chunk/ChunkWriterImpl.java | 16 +-
.../chunk/NonAlignedChunkGroupWriterImpl.java | 2 +-
.../apache/tsfile/write/chunk/TimeChunkWriter.java | 12 +-
.../tsfile/write/chunk/ValueChunkWriter.java | 12 +-
.../org/apache/tsfile/write/page/PageWriter.java | 4 +-
.../apache/tsfile/write/page/TimePageWriter.java | 2 +-
.../apache/tsfile/write/page/ValuePageWriter.java | 2 +-
.../write/v4/AbstractTableModelTsFileWriter.java | 21 +-
.../apache/tsfile/write/writer/TsFileIOWriter.java | 6 +-
.../org/apache/tsfile/write/ChunkRewriteTest.java | 425 +++++
pom.xml | 5 +-
python/README.md | 2 +-
python/examlpes.py | 82 -
python/examples/example.py | 60 +
python/pom.xml | 4 +-
python/setup.py | 75 +-
python/test.py | 165 --
cpp/test_all.sh => python/tests/__init__.py | 1 -
python/tests/test_basic.py | 93 +
python/tests/test_write.py | 116 ++
python/tests/test_write_and_read.py | 183 ++
cpp/test_all.sh => python/tsfile/__init__.pxd | 4 +-
python/tsfile/__init__.py | 19 +-
python/tsfile/constants.py | 109 ++
.../build.sh => python/tsfile/date_utils.py | 47 +-
python/tsfile/exceptions.py | 141 ++
python/tsfile/field.py | 213 +++
python/tsfile/row_record.py | 59 +
python/tsfile/schema.py | 153 ++
python/tsfile/tablet.py | 164 ++
python/tsfile/tsfile.pxd | 104 --
python/tsfile/tsfile.py | 145 --
python/tsfile/tsfile_cpp.pxd | 191 ++
python/tsfile/tsfile_py_cpp.pxd | 55 +
python/tsfile/tsfile_py_cpp.pyx | 447 +++++
python/tsfile/tsfile_pywrapper.pyx | 348 ----
python/tsfile/tsfile_reader.pyx | 356 ++++
python/tsfile/tsfile_table_writer.py | 70 +
python/tsfile/tsfile_writer.pyx | 135 ++
222 files changed, 12478 insertions(+), 5177 deletions(-)
copy .github/workflows/{unit-test-cpp-py.yml => unit-test-cpp.yml} (66%)
rename .github/workflows/{unit-test-cpp-py.yml => unit-test-python.yml} (95%)
create mode 100644 cpp/cmake/CopyToDir.cmake
create mode 100644 cpp/examples/README.md
delete mode 100644 cpp/examples/c_examples/c_examples.c
create mode 100644 cpp/examples/c_examples/demo_read.c
create mode 100644 cpp/examples/c_examples/demo_write.c
create mode 100644 cpp/examples/test_cpp.tsfile
delete mode 100644 cpp/src/common/allocator/object_pool.h
delete mode 100644 cpp/src/common/allocator/stl_allocator.h
delete mode 100644 cpp/src/common/allocator/util_define.h
create mode 100644 cpp/src/common/cache/lru_cache.h
delete mode 100644 cpp/src/common/datatype/CMakeLists.txt
delete mode 100644 cpp/src/cwrapper/TsFile-cwrapper.cc
delete mode 100644 cpp/src/cwrapper/TsFile-cwrapper.h
create mode 100644 cpp/src/cwrapper/errno_define_c.h
create mode 100644 cpp/src/cwrapper/tsfile_cwrapper.cc
create mode 100644 cpp/src/cwrapper/tsfile_cwrapper.h
create mode 100644 cpp/src/cwrapper/tsfile_cwrapper_expression.cc
create mode 100644 cpp/src/cwrapper/tsfile_cwrapper_expression.h
create mode 100644 cpp/src/reader/block/device_ordered_tsblock_reader.cc
create mode 100644 cpp/src/reader/block/device_ordered_tsblock_reader.h
create mode 100644 cpp/src/reader/block/single_device_tsblock_reader.cc
create mode 100644 cpp/src/reader/block/single_device_tsblock_reader.h
copy cpp/src/{writer/tsfile_table_writer.h => reader/block/tsblock_reader.h}
(58%)
create mode 100644 cpp/src/reader/column_mapping.h
create mode 100644 cpp/src/reader/device_meta_iterator.cc
create mode 100644 cpp/src/reader/device_meta_iterator.h
copy cpp/src/{common/constant => reader/filter}/CMakeLists.txt (100%)
create mode 100644 cpp/src/reader/imeta_data_querier.h
create mode 100644 cpp/src/reader/meta_data_querier.cc
create mode 100644 cpp/src/reader/meta_data_querier.h
create mode 100644 cpp/src/reader/table_query_executor.cc
create mode 100644 cpp/src/reader/table_query_executor.h
create mode 100644 cpp/src/reader/table_result_set.cc
create mode 100644 cpp/src/reader/table_result_set.h
copy cpp/src/{writer/tsfile_table_writer.h =>
reader/task/device_query_task.cc} (54%)
create mode 100644 cpp/src/reader/task/device_query_task.h
copy cpp/src/{writer/tsfile_table_writer.h =>
reader/task/device_task_iterator.cc} (59%)
create mode 100644 cpp/src/reader/task/device_task_iterator.h
create mode 100644 cpp/test/cwrapper/c_release_test.cc
create mode 100644 cpp/test/reader/table_view/tsfile_reader_table_test.cc
copy cpp/third_party/zlib-1.2.13/{zconf.h.in => zconf.h} (100%)
create mode 100644
java/tsfile/src/test/java/org/apache/tsfile/write/ChunkRewriteTest.java
delete mode 100644 python/examlpes.py
create mode 100644 python/examples/example.py
delete mode 100644 python/test.py
copy cpp/test_all.sh => python/tests/__init__.py (99%)
create mode 100644 python/tests/test_basic.py
create mode 100644 python/tests/test_write.py
create mode 100644 python/tests/test_write_and_read.py
copy cpp/test_all.sh => python/tsfile/__init__.pxd (96%)
create mode 100644 python/tsfile/constants.py
copy cpp/bench_mark/build.sh => python/tsfile/date_utils.py (52%)
create mode 100644 python/tsfile/exceptions.py
create mode 100644 python/tsfile/field.py
create mode 100644 python/tsfile/row_record.py
create mode 100644 python/tsfile/schema.py
create mode 100644 python/tsfile/tablet.py
delete mode 100644 python/tsfile/tsfile.pxd
delete mode 100644 python/tsfile/tsfile.py
create mode 100644 python/tsfile/tsfile_cpp.pxd
create mode 100644 python/tsfile/tsfile_py_cpp.pxd
create mode 100644 python/tsfile/tsfile_py_cpp.pyx
delete mode 100644 python/tsfile/tsfile_pywrapper.pyx
create mode 100644 python/tsfile/tsfile_reader.pyx
create mode 100644 python/tsfile/tsfile_table_writer.py
create mode 100644 python/tsfile/tsfile_writer.pyx