This is an automated email from the ASF dual-hosted git repository.
haonan pushed a change to branch codex/spotless-black-python
in repository https://gitbox.apache.org/repos/asf/tsfile.git
discard 34337f57 Format Python code with Spotless and Black
add 9374f727 Remove timestamps cache to optmize init phase (#769)
add e2fba469 Fix data loss (#771)
add 87f66d99 Write with parallel (#772)
add b8885ae1 Optimize and Fix some bugs in TsFileDataFrame (#773)
add fa3e01f1 fix(cpp): aligned VECTOR row-offset skip only when time/value
counts match (#778)
add cb595432 fix(cpp): skip missing device/measurement in tree queryByRow
(#777)
add 3c809d5f Fix tree queryByRow device ID parsing for multi-segment paths
(#776)
add 5e84d510 Format Python code with Spotless and Black
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 (34337f57)
\
N -- N -- N refs/heads/codex/spotless-black-python (5e84d510)
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:
cpp/CMakeLists.txt | 9 +
cpp/README-zh.md | 29 +
cpp/README.md | 27 +
cpp/src/common/config/config.h | 2 +
cpp/src/common/global.cc | 23 +
cpp/src/common/global.h | 24 +
cpp/src/common/path.cc | 15 +-
cpp/src/common/tablet.h | 7 +
cpp/src/common/thread_pool.h | 123 +++++
cpp/src/cwrapper/tsfile_cwrapper.cc | 113 +++-
cpp/src/cwrapper/tsfile_cwrapper.h | 1 +
cpp/src/file/tsfile_io_reader.cc | 53 +-
cpp/src/reader/aligned_chunk_reader.cc | 36 +-
cpp/src/reader/qds_without_timegenerator.cc | 22 +-
cpp/src/reader/tsfile_reader.cc | 41 +-
cpp/src/reader/tsfile_reader.h | 2 +
cpp/src/reader/tsfile_series_scan_iterator.cc | 27 +-
cpp/src/reader/tsfile_series_scan_iterator.h | 8 +
cpp/src/writer/tsfile_writer.cc | 394 +++++---------
cpp/src/writer/tsfile_writer.h | 2 +-
.../reader/table_view/tsfile_reader_table_test.cc | 83 +++
.../tree_view/tsfile_tree_query_by_row_test.cc | 64 +++
.../writer/table_view/tsfile_writer_table_test.cc | 47 +-
python/pom.xml | 2 +-
python/requirements.txt | 2 +-
python/tests/test_query_by_row.py | 82 +++
python/tests/test_reader_metadata.py | 66 ++-
python/tests/test_tsfile_dataset.py | 593 ++++++++++++++++++++-
python/tests/test_write_arrow.py | 1 -
python/tsfile/__init__.py | 7 +-
python/tsfile/dataset/dataframe.py | 425 ++++++++++++---
python/tsfile/dataset/formatting.py | 59 +-
python/tsfile/dataset/metadata.py | 129 +++--
python/tsfile/dataset/reader.py | 316 +++++++----
python/tsfile/dataset/timeseries.py | 46 +-
python/tsfile/schema.py | 1 +
python/tsfile/tsfile_cpp.pxd | 1 +
python/tsfile/tsfile_py_cpp.pxd | 8 +-
python/tsfile/tsfile_py_cpp.pyx | 8 +-
python/tsfile/tsfile_reader.pyx | 1 +
40 files changed, 2304 insertions(+), 595 deletions(-)
create mode 100644 cpp/src/common/thread_pool.h