Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
8d89f4d
Check blank column name or table name (#471)
shuwenwei Apr 23, 2025
4b75866
Optimizations regarding chunk metadata sort & timeseries metadata ser…
jt2594838 Apr 23, 2025
b385b4f
Remove redundant conversion in TableResultSet (#473)
jt2594838 Apr 25, 2025
73ac55f
Fix CPP TsFile query with time filter error (#474)
HTHou Apr 27, 2025
c731ba0
add switch to disable native lz4 (#480)
jt2594838 Apr 29, 2025
4145395
Fix float RLBE encoding loss of precision (#484)
HTHou May 8, 2025
217cc3c
Add flush method for tsfile python writer (#487)
ycycse May 9, 2025
d2119c1
add table/column schema check. (#488)
ColinLeeo May 12, 2025
e795637
delete parameter encrypt_flag (#491)
zhujt20 May 12, 2025
6f08fb1
Colin fix config (#493)
ColinLeeo May 13, 2025
14cefc9
fix data lossing when page num exceed 1. (#495)
ColinLeeo May 15, 2025
cc8f363
Colin fix config (#472)
ColinLeeo May 19, 2025
dd603b4
Bump setuptools from 70.0.0 to 78.1.1 in /python (#497)
dependabot[bot] May 20, 2025
3a688ee
Add TsFileLastReader for retrieving last points in a TsFile (#498)
jt2594838 May 23, 2025
1856572
Update release information of TsFile v2.0.3 (#505)
HTHou Jun 3, 2025
a5424d3
Same name (case insensitive) in tablet / table. (#490)
ColinLeeo Jun 4, 2025
6672d2d
Fix (#508)
Caideyipi Jun 9, 2025
a71b8d4
fix minus encode and decode. (#511)
ColinLeeo Jun 12, 2025
7859080
Zjt/encrypt key from environment (#512)
zhujt20 Jun 12, 2025
2995362
Fix npe when closing a last reader that have not been used (#513)
jt2594838 Jun 16, 2025
6df6112
The TsFile-CPP query interface now validates column names before quer…
761417898 Jun 18, 2025
c501bf4
Resolved case sensitivity issue when reading column names. (#517)
761417898 Jun 18, 2025
af2a7ee
Fix tag empty error and disorder timestamp. (#489)
ColinLeeo Jun 19, 2025
caa77ac
[Java/C++/C] Resolved case sensitivity issue when reading column name…
761417898 Jun 19, 2025
58fa12f
fix read from iotdb data. (#520)
ColinLeeo Jun 20, 2025
04eb621
Fix bloom filter error.
ColinLeeo Jun 20, 2025
09015fa
[CPP]Fix/multi fileds column (#522)
761417898 Jun 24, 2025
de166a7
Support set default compression by data type (#523)
jt2594838 Jun 24, 2025
d2a906e
Fixes the issue where data with only timestamps could not be inserted…
ColinLeeo Jun 27, 2025
ed5b5dc
The column names in the addValue interface are case-insensitive (#526)
761417898 Jun 27, 2025
af0ec13
Use spotless to format CPP code (#528)
HTHou Jul 1, 2025
e7bdcad
fix some warning while compiling. (#527)
ColinLeeo Jul 2, 2025
6554a18
Correct the memroy calculation of BinaryColumnBuilder
JackieTien97 Jul 3, 2025
a2da0c9
[maven-release-plugin] prepare release v2.1.0
ColinLeeo Jul 4, 2025
efdba35
Revert "[maven-release-plugin] prepare release v2.1.0" (#533)
ColinLeeo Jul 4, 2025
7510d94
Fetch max tsblock line number each time from TSFileConfig
JackieTien97 Jul 7, 2025
c32e893
AbstractAlignedTimeSeriesMetadata.typeMatch always return true (#538)
shuwenwei Jul 8, 2025
4909442
Implement datatype TIMESTAMP BLOB TEXT DATE (#532)
761417898 Jul 9, 2025
a8e48ad
Ignore the null value passed in the Tablet.addValue method (#540)
shuwenwei Jul 9, 2025
110a5a2
Bump org.apache.commons:commons-lang3 from 3.15.0 to 3.18.0 in /java …
dependabot[bot] Jul 14, 2025
490d521
Update version info for tsfile v2.1.0 (#544)
ColinLeeo Jul 15, 2025
838d290
Implement extract time filters
Wei-hao-Li Jul 16, 2025
956d598
implement RLE DICTIONART ZIGZAG codec (#542)
761417898 Jul 17, 2025
d3eb61a
Init all series writer for AlignedChunkGroupWriter
shuwenwei Jul 18, 2025
04bbc0a
Check max tsfile version
shuwenwei Jul 21, 2025
898f1a6
include common in tsfile with shade (#510)
Inky19 Jul 22, 2025
ae3e8c8
Implement extract value filters
Wei-hao-Li Jul 22, 2025
ee647cb
fix wrong Private-Package declaration (#556)
Inky19 Jul 23, 2025
f1dad36
Feature/cpp codec sprintz (#553)
761417898 Jul 23, 2025
965f487
Avoid repeated calculation of shallow size of map
shuwenwei Jul 29, 2025
f3345b9
Refactor UnknownType to extend AbstractType
FearfulTomcat27 Jul 29, 2025
9ef4709
Add Tablet.append (#562)
jt2594838 Jul 30, 2025
f54f8b6
Provides complete implementation of all TagFilter operations
761417898 Aug 12, 2025
1dff37b
Add methods for RamUsageEstimator
shuwenwei Aug 12, 2025
b970e1f
implement new java writing interface for tree model
761417898 Aug 14, 2025
38a847d
generate main key (#519)
zhujt20 Aug 14, 2025
949a7a5
reduce zero-fill overhead on BitMap creation (#572)
luoluoyuyu Aug 15, 2025
858239f
Update release information after v2.1.1 released (#574)
HTHou Aug 18, 2025
95dbf6a
Feature/codec/camel (#560)
761417898 Aug 18, 2025
616e844
implement v4 tree-model read interface
761417898 Aug 18, 2025
c9838b0
Adjusted the sequence of measurements
761417898 Aug 18, 2025
94d5e06
Add licenses
761417898 Aug 18, 2025
550c482
Add support for alter column datatype (#567)
zerolbsony Aug 20, 2025
a426db2
Add v4 interface example
761417898 Aug 21, 2025
988beea
Add v4 PerformanceTest
761417898 Aug 22, 2025
01be82e
feat: add markRange / unmarkRange / merge for high-performance bit ma…
luoluoyuyu Aug 25, 2025
674a65c
perf: Optimize aligned object memory size calculation (#577)
luoluoyuyu Aug 27, 2025
a5fee93
[CPP/C] implement default encoding/compression configuration interfac…
761417898 Sep 1, 2025
dcdbcf8
Bump actions/first-interaction from 1.3.0 to 3.0.0 (#586)
dependabot[bot] Sep 3, 2025
fd1adb8
Bump actions/setup-java from 4 to 5 (#584)
dependabot[bot] Sep 3, 2025
5132d99
Alter column other type to string type (#588)
zerolbsony Sep 3, 2025
1dce1b0
Bump actions/checkout from 4 to 5 (#583)
dependabot[bot] Sep 4, 2025
39e55a3
Fix camel encoding error message and add check for each datatypes of …
HTHou Sep 18, 2025
83250e3
Modify the TsFileSequenceReaderTimeseriesMetadataIterator next functi…
luoluoyuyu Sep 28, 2025
c2a2937
add encrypt param for all the write/read struct initialization (#601)
zhujt20 Oct 10, 2025
1e5e7ef
Merge branch 'develop' into new_java_interfaces
761417898 Oct 16, 2025
84444eb
fix TableResultSet.Iterator unittest
761417898 Oct 16, 2025
12b4ce9
add license
761417898 Oct 17, 2025
a6d5696
spotless:apply
761417898 Oct 17, 2025
e1d0734
fix MeasurementSchemaBuilder getCompressor()
761417898 Oct 27, 2025
8ff0900
removed unused IDeviceID.toString()
761417898 Oct 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
226 changes: 226 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,226 @@
---
Language: Cpp
# BasedOnStyle: Google
AccessModifierOffset: -1
AlignAfterOpenBracket: Align
AlignArrayOfStructures: None
AlignConsecutiveMacros: None
AlignConsecutiveAssignments: None
AlignConsecutiveBitFields: None
AlignConsecutiveDeclarations: None
AlignEscapedNewlines: Left
AlignOperands: Align
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortEnumsOnASingleLine: true
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: Yes
AttributeMacros:
- __capability
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeConceptDeclarations: true
BreakBeforeBraces: Attach
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 80
CommentPragmas: '^ IWYU pragma:'
QualifierAlignment: Leave
CompactNamespaces: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DeriveLineEnding: true
DerivePointerAlignment: true
DisableFormat: false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
ExperimentalAutoDetectBinPacking: false
PackConstructorInitializers: NextLine
BasedOnStyle: ''
ConstructorInitializerAllOnOneLineOrOnePerLine: false
AllowAllConstructorInitializersOnNextLine: true
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IfMacros:
- KJ_IF_MAYBE
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^<ext/.*\.h>'
Priority: 2
SortPriority: 0
CaseSensitive: false
- Regex: '^<.*\.h>'
Priority: 1
SortPriority: 0
CaseSensitive: false
- Regex: '^<.*'
Priority: 2
SortPriority: 0
CaseSensitive: false
- Regex: '.*'
Priority: 3
SortPriority: 0
CaseSensitive: false
IncludeIsMainRegex: '([-_](test|unittest))?$'
IncludeIsMainSourceRegex: ''
IndentAccessModifiers: false
IndentCaseLabels: true
IndentCaseBlocks: false
IndentGotoLabels: true
IndentPPDirectives: None
IndentExternBlock: AfterExternBlock
IndentRequires: false
IndentWidth: 4
IndentWrappedFunctionNames: false
InsertTrailingCommas: None
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: false
LambdaBodyIndentation: Signature
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Never
ObjCBlockIndentWidth: 2
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakOpenParenthesis: 0
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 200
PenaltyIndentedWhitespace: 0
PointerAlignment: Left
PPIndentWidth: -1
RawStringFormats:
- Language: Cpp
Delimiters:
- cc
- CC
- cpp
- Cpp
- CPP
- 'c++'
- 'C++'
CanonicalDelimiter: ''
BasedOnStyle: google
- Language: TextProto
Delimiters:
- pb
- PB
- proto
- PROTO
EnclosingFunctions:
- EqualsProto
- EquivToProto
- PARSE_PARTIAL_TEXT_PROTO
- PARSE_TEST_PROTO
- PARSE_TEXT_PROTO
- ParseTextOrDie
- ParseTextProtoOrDie
- ParseTestProto
- ParsePartialTestProto
CanonicalDelimiter: pb
BasedOnStyle: google
ReferenceAlignment: Pointer
ReflowComments: true
RemoveBracesLLVM: false
SeparateDefinitionBlocks: Leave
ShortNamespaceLines: 1
SortIncludes: CaseSensitive
SortJavaStaticImport: Before
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: true
AfterFunctionDefinitionName: false
AfterFunctionDeclarationName: false
AfterIfMacros: true
AfterOverloadedOperator: false
BeforeNonEmptyParentheses: false
SpaceAroundPointerQualifiers: Default
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 2
SpacesInAngles: Never
SpacesInConditionalStatement: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpaceBeforeSquareBrackets: false
BitFieldColonSpacing: Both
Standard: Auto
StatementAttributeLikeMacros:
- Q_EMIT
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 8
UseCRLF: false
UseTab: Never
WhitespaceSensitiveMacros:
- STRINGIZE
- PP_STRINGIZE
- BOOST_PP_STRINGIZE
- NS_SWIFT_NAME
- CF_SWIFT_NAME
...

4 changes: 2 additions & 2 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'apache/tsfile' || github.event_name == 'push'

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Cache Maven packages
uses: actions/cache@v4
with:
Expand All @@ -29,7 +29,7 @@ jobs:
- name: Generate code coverage reports
run: |
sudo apt-get install lcov
./mvnw -B -P with-java,with-cpp,with-code-coverage clean verify
./mvnw -B -P with-java,with-cpp,with-code-coverage clean verify -Dspotless.skip=true
lcov --capture --directory cpp/target/build/test --output-file cpp/target/build/test/coverage.info
lcov --remove cpp/target/build/test/coverage.info '*/tsfile/cpp/test/*' --output-file cpp/target/build/test/coverage_filtered.info
genhtml cpp/target/build/test/coverage_filtered.info --output-directory cpp/target/build/test/coverage_report
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1.3.0
- uses: actions/first-interaction@v3.0.0
continue-on-error: true
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/site-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
if: github.event_name == 'pull_request'

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Install pnpm
uses: pnpm/action-setup@v4
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
if: github.event_name == 'workflow_dispatch' && github.ref_name == 'develop' || github.event_name == 'push'

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Install pnpm
uses: pnpm/action-setup@v4
Expand Down
15 changes: 14 additions & 1 deletion .github/workflows/unit-test-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
steps:

- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

# Setup caching of the artifacts in the .m2 directory, so they don't have to
# all be downloaded again for every build.
Expand All @@ -104,6 +104,19 @@ jobs:
core.setOutput('platform_suffix', ``)
}

- name: Install clang-format
shell: bash
run: |
if [[ "$RUNNER_OS" == "Linux" ]]; then
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-17 100
sudo update-alternatives --set clang-format /usr/bin/clang-format-17
elif [[ "$RUNNER_OS" == "Windows" ]]; then
choco install llvm --version 17.0.6 --force
else
brew install llvm@17
ln -sf $(brew --prefix llvm@17)/bin/clang-format /opt/homebrew/bin/clang-format
fi

# Run the actual maven build including all tests.
- name: Build and test with Maven
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-test-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ jobs:
steps:

- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
distribution: corretto
java-version: ${{ matrix.java }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
steps:

- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

# Setup caching of the artifacts in the .m2 directory, so they don't have to
# all be downloaded again for every build.
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
- name: Build and test with Maven
shell: bash
run: |
./mvnw${{ steps.platform_suffix.outputs.platform_suffix }} -P with-python -Denable.asan=OFF -Dbuild.type=Release clean verify
./mvnw${{ steps.platform_suffix.outputs.platform_suffix }} -P with-python -Denable.asan=OFF -Dbuild.type=Release clean verify -Dspotless.skip=true

- name: Upload whl Artifact
uses: actions/upload-artifact@v4
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ python/data
python/venv/*
python/tests/__pycache__/*
python/tests/*.tsfile
python/tsfile/include

cpp/cmake-build-debug-mingw/
cpp/third_party/googletest-release-1.12.1.zip
Expand Down
2 changes: 1 addition & 1 deletion README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ___________ ___________.__.__
\__ ___/____\_ _____/|__| | ____
| | / ___/| __) | | | _/ __ \
| | \___ \ | \ | | |_\ ___/
|____|/____ >\___ / |__|____/\___ > version 2.1.0-SNAPSHOT
|____|/____ >\___ / |__|____/\___ > version 2.1.0
\/ \/ \/
</pre>
[![codecov](https://codecov.io/github/apache/tsfile/graph/badge.svg?token=0Y8MVAB3K1)](https://codecov.io/github/apache/tsfile)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ___________ ___________.__.__
\__ ___/____\_ _____/|__| | ____
| | / ___/| __) | | | _/ __ \
| | \___ \ | \ | | |_\ ___/
|____|/____ >\___ / |__|____/\___ > version 2.1.0-SNAPSHOT
|____|/____ >\___ / |__|____/\___ > version 2.1.0
\/ \/ \/
</pre>
[![codecov](https://codecov.io/github/apache/tsfile/graph/badge.svg?token=0Y8MVAB3K1)](https://codecov.io/github/apache/tsfile)
Expand Down
Loading
Loading