Skip to content

Commit 87c1e5a

Browse files
committed
Fix cpp formatting and sync Python version
1 parent c6e9005 commit 87c1e5a

4 files changed

Lines changed: 6 additions & 10 deletions

File tree

cpp/src/reader/filter/and_filter.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,12 @@ class AndFilter : public BinaryFilter {
3838
return left_->satisfy(time, value) && right_->satisfy(time, value);
3939
}
4040

41-
bool satisfy_start_end_time(int64_t start_time,
42-
int64_t end_time) {
41+
bool satisfy_start_end_time(int64_t start_time, int64_t end_time) {
4342
return left_->satisfy_start_end_time(start_time, end_time) &&
4443
right_->satisfy_start_end_time(start_time, end_time);
4544
}
4645

47-
bool contain_start_end_time(int64_t start_time,
48-
int64_t end_time) {
46+
bool contain_start_end_time(int64_t start_time, int64_t end_time) {
4947
return left_->contain_start_end_time(start_time, end_time) &&
5048
right_->contain_start_end_time(start_time, end_time);
5149
}

cpp/src/reader/filter/or_filter.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,12 @@ class OrFilter : public BinaryFilter {
3838
return left_->satisfy(time, value) || right_->satisfy(time, value);
3939
}
4040

41-
bool satisfy_start_end_time(int64_t start_time,
42-
int64_t end_time) {
41+
bool satisfy_start_end_time(int64_t start_time, int64_t end_time) {
4342
return left_->satisfy_start_end_time(start_time, end_time) ||
4443
right_->satisfy_start_end_time(start_time, end_time);
4544
}
4645

47-
bool contain_start_end_time(int64_t start_time,
48-
int64_t end_time) {
46+
bool contain_start_end_time(int64_t start_time, int64_t end_time) {
4947
return left_->contain_start_end_time(start_time, end_time) ||
5048
right_->contain_start_end_time(start_time, end_time);
5149
}

python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ build-backend = "setuptools.build_meta"
2828

2929
[project]
3030
name = "tsfile"
31-
version = "2.2.1.dev"
31+
version = "2.3.1"
3232
requires-python = ">=3.9"
3333
description = "TsFile Python"
3434
readme = {file = "README.md", content-type = "text/markdown"}

python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
ROOT = Path(__file__).parent.resolve()
3131
PKG = ROOT / "tsfile"
3232

33-
version = "2.2.1.dev"
33+
version = "2.3.1"
3434

3535

3636
def _find_cpp_build():

0 commit comments

Comments
 (0)