This is an automated email from the ASF dual-hosted git repository.
colinlee pushed a change to branch colin_fix_schema_check_cpp
in repository https://gitbox.apache.org/repos/asf/tsfile.git
from 5984a023 fix memory leak.
add d2119c1e add table/column schema check. (#488)
add e795637d delete parameter encrypt_flag (#491)
add 6f08fb13 Colin fix config (#493)
add 14cefc91 fix data lossing when page num exceed 1. (#495)
add cc8f3637 Colin fix config (#472)
add dd603b4e Bump setuptools from 70.0.0 to 78.1.1 in /python (#497)
add 3a688eea Add TsFileLastReader for retrieving last points in a TsFile
(#498)
add 925862e3 Merge remote-tracking branch 'origin/develop' into
colin_fix_schema_check_cpp
No new revisions were added by this update.
Summary of changes:
.gitignore | 1 +
cpp/pom.xml | 2 +-
cpp/src/common/config/config.h | 7 +
cpp/src/common/db_common.h | 42 ---
cpp/src/common/global.cc | 26 +-
cpp/src/common/global.h | 92 ++++++
cpp/src/common/schema.h | 6 +-
cpp/src/encoding/gorilla_decoder.h | 2 +-
cpp/src/reader/aligned_chunk_reader.cc | 4 +
cpp/src/reader/tsfile_series_scan_iterator.cc | 9 +-
cpp/src/utils/db_utils.h | 6 +-
cpp/test/cwrapper/c_release_test.cc | 8 +-
.../writer/table_view/tsfile_writer_table_test.cc | 48 +++
java/common/pom.xml | 2 +-
java/examples/pom.xml | 4 +-
java/pom.xml | 4 +-
java/tools/pom.xml | 6 +-
java/tsfile/pom.xml | 4 +-
.../apache/tsfile/common/conf/TSFileConfig.java | 13 +-
.../tsfile/common/conf/TSFileDescriptor.java | 1 -
.../org/apache/tsfile/encrypt/EncryptUtils.java | 7 +-
.../tsfile/file/metadata/TimeseriesMetadata.java | 31 +-
.../file/metadata/statistics/TimeStatistics.java | 8 +-
.../apache/tsfile/read/TsFileSequenceReader.java | 193 ++++++++++-
.../java/org/apache/tsfile/read/common/Chunk.java | 4 +
.../tsfile/read/reader/TsFileLastReader.java | 313 ++++++++++++++++++
.../tsfile/read/reader/page/ValuePageReader.java | 4 +
.../java/org/apache/tsfile/utils/WriteUtils.java | 5 +
.../java/org/apache/tsfile/write/TsFileWriter.java | 4 +-
.../org/apache/tsfile/write/record/Tablet.java | 14 +-
.../write/v4/AbstractTableModelTsFileWriter.java | 4 +-
.../apache/tsfile/write/writer/TsFileIOWriter.java | 12 +-
.../tsfile/read/reader/TsFileLastReaderTest.java | 361 +++++++++++++++++++++
pom.xml | 6 +-
python/pom.xml | 2 +-
python/requirements.txt | 2 +-
python/setup.py | 46 ++-
python/tests/test_basic.py | 34 +-
python/tests/test_write_and_read.py | 60 +++-
python/tsfile/__init__.py | 1 +
python/tsfile/exceptions.py | 5 +
python/tsfile/schema.py | 8 +
python/tsfile/tablet.py | 3 +-
python/tsfile/tsfile_cpp.pxd | 34 +-
python/tsfile/tsfile_py_cpp.pxd | 4 +-
python/tsfile/tsfile_py_cpp.pyx | 117 +++++++
python/tsfile/tsfile_table_writer.py | 5 +-
python/tsfile/tsfile_writer.pyx | 2 +-
48 files changed, 1430 insertions(+), 146 deletions(-)
create mode 100644
java/tsfile/src/main/java/org/apache/tsfile/read/reader/TsFileLastReader.java
create mode 100644
java/tsfile/src/test/java/org/apache/tsfile/read/reader/TsFileLastReaderTest.java