Commit Graph

514 Commits

Author SHA1 Message Date
Christofer Dutz 574bbd1b2b
Feature/dependency check (#13587) 2024-09-25 21:48:54 +08:00
Haonan ed8f61cb38
Update tsfile version to 1.2.0-240924-SNAPSHOT (#13603) 2024-09-25 09:31:03 +08:00
Lin Xintao 97e5c35325
Improve like predicate speed 2024-09-22 10:17:57 +08:00
shuwenwei 598cabe238
Keep all null rows in table model compaction (#13523)
* keep all null rows in table model compaction

* add ut

* adddeletion ut

* add ut

* revert some ut

* fix ut

* add context in cross space compaction task selection

* fix bug

* spotless

* modify repair task

* update tsfile version
2024-09-20 17:23:54 +08:00
Jackie Tien f227d9ac4d
Keep all null rows in table model 2024-09-14 07:09:02 +08:00
Jiang Tian dd900cfa27
Support dictionary encoding for STRING & refactor encoding support condition (#13474) 2024-09-11 18:15:37 +08:00
YangCaiyin cfc4eee7c9
AINode: Refined architecture for enhanced modularity & Added basic IT (#13423)
This PR refactors the AINode codebase by breaking down the existing classes into separate modules, enhancing code readability and maintainability. Additionally, I have identified and removed code smells, ensuring cleanliness and consistency throughout the code. These improvements will facilitate future feature expansions and bug fixes.

------

* basic refactor the logic of manager

* refactor ainode (has bug needed to be fixed)

* use logger that is uniformly initialized.

* support singleton for ClientManager

* Refine the locking mechanism for multi-threading

* Add IT of model for AINode

* ignore AINode-example in header check

* refine dropModelTest which may exist error

* optimized cluster number to reduce execution time

* class-level method needs to be static

* try to fix CI

* fix the problem where CREATE MODEL may be slow.

* reduce cluster number
2024-09-10 18:50:22 +08:00
shuwenwei 16a6eea214
modify pom.xml (#13376) 2024-09-06 10:01:57 +08:00
Jackie Tien 9cef05eecb
Change version to 2.0.0-SNAPSHOT 2024-09-06 08:50:14 +08:00
FearfulTomcat27 380b0b4e0e
FreeMarker code generation for mathematical functions and operators 2024-09-04 17:53:56 +08:00
YangCaiyin 51ee13be2d
AINode: Introduce IT framework (#13387) 2024-09-04 14:33:01 +08:00
Potato 996ce09753
Bump ratis version from 3.1.0 to 3.1.1-0133c90-SNAPSHOT #13357
Signed-off-by: OneSizeFitQuorum <tanxinyu@apache.org>
2024-09-02 10:28:43 +08:00
Jackie Tien bef85472e9
Add constant folding feature to table model 2024-08-30 18:10:05 +08:00
Christofer Dutz 7c808c5cba
Refactor/ai node build update (#13302)
* fix: Hopefully fixed the build of the cpp-example on windows systems

* fix: Increase the timeout even more to finally make the build succeed.

* fix: Fix the build.

* refactor: Cleaned up the build of the ai-node to be more robust

* fix: Made the groovy script also work when building the entire project.

* feat: Added some checks to validate the min and max version of the python3 version being used.

* feat: Added some checks to validate the min and max version of the python3 version being used.

* fix: Updated the python settings in pyproject.toml to reflect the really valid range of python versions and updated the prerequisite check accordingly.

* feat: Removed the option to remove an AI node by rpc-ip+port.

* chore: Added the poetry.lock to the .gitignore

* docs: Removed the option to use the ip+port from the output of the scripts.

* chore: Added the poetry.lock to the repo and removed it from the .gitignore file
2024-08-29 12:54:58 +08:00
Jackie Tien 861339b155
Support expression in InPredicate & Unify error msg for type timestamp in round function 2024-08-27 14:23:32 +08:00
YangCaiyin bc3b4d32c1
Introduce AINode to IoTDB (#13254)
Co-authored-by: ZDand <88132465+ZDandsomSP@users.noreply.github.com>
Co-authored-by: RkGrit <89496957+RkGrit@users.noreply.github.com>
Co-authored-by: Yong Liu <liuyong1095556447@gmail.com>
Co-authored-by: Guo Qin <qing20@mails.tsinghua.edu.cn>
Co-authored-by: Chenyu Li <872166619@qq.com>
Co-authored-by: hangzhou188 <61036179+hangzhou188@users.noreply.github.com>
2024-08-24 22:26:44 +08:00
Haonan ef3cf9f08a
Bump swagger version (#13211) 2024-08-17 22:37:35 +08:00
Haonan a95b9f37c2
Revert "Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.0 to 3.5.3 …" (#13209)
This reverts commit 13e0d76466.
2024-08-17 06:27:38 +08:00
dependabot[bot] 9d8b7b078d
Bump org.cyclonedx:cyclonedx-maven-plugin from 2.7.9 to 2.7.11 (#13205)
Bumps [org.cyclonedx:cyclonedx-maven-plugin](https://github.com/CycloneDX/cyclonedx-maven-plugin) from 2.7.9 to 2.7.11.
- [Release notes](https://github.com/CycloneDX/cyclonedx-maven-plugin/releases)
- [Commits](https://github.com/CycloneDX/cyclonedx-maven-plugin/compare/cyclonedx-maven-plugin-2.7.9...cyclonedx-maven-plugin-2.7.11)

---
updated-dependencies:
- dependency-name: org.cyclonedx:cyclonedx-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-16 21:40:45 +08:00
dependabot[bot] 13e0d76466
Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.0 to 3.5.3 (#13204)
Bumps [org.apache.maven.plugins:maven-shade-plugin](https://github.com/apache/maven-shade-plugin) from 3.5.0 to 3.5.3.
- [Release notes](https://github.com/apache/maven-shade-plugin/releases)
- [Commits](https://github.com/apache/maven-shade-plugin/compare/maven-shade-plugin-3.5.0...maven-shade-plugin-3.5.3)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-shade-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-16 21:40:29 +08:00
dependabot[bot] b568855171
Bump org.apache.maven.plugins:maven-jar-plugin from 3.2.0 to 3.2.2 (#13202)
Bumps [org.apache.maven.plugins:maven-jar-plugin](https://github.com/apache/maven-jar-plugin) from 3.2.0 to 3.2.2.
- [Release notes](https://github.com/apache/maven-jar-plugin/releases)
- [Commits](https://github.com/apache/maven-jar-plugin/compare/maven-jar-plugin-3.2.0...maven-jar-plugin-3.2.2)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-jar-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-16 21:40:08 +08:00
dependabot[bot] ea4ecc31a8
Bump milo.version from 0.6.10 to 0.6.14 (#13203)
Bumps `milo.version` from 0.6.10 to 0.6.14.

Updates `org.eclipse.milo:stack-core` from 0.6.10 to 0.6.14

Updates `org.eclipse.milo:sdk-core` from 0.6.10 to 0.6.14

Updates `org.eclipse.milo:stack-server` from 0.6.10 to 0.6.14

Updates `org.eclipse.milo:sdk-server` from 0.6.10 to 0.6.14

Updates `org.eclipse.milo:sdk-client` from 0.6.10 to 0.6.14

---
updated-dependencies:
- dependency-name: org.eclipse.milo:stack-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.milo:sdk-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.milo:stack-server
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.milo:sdk-server
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.milo:sdk-client
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-16 21:39:46 +08:00
yuyong fb1ce11c04
Adaptation of Filter generated by FreeMarker in TsFile 2024-08-12 20:20:41 +08:00
Jackie Tien a3fce5860d
change version for master branch (#13137) 2024-08-12 16:55:25 +08:00
Jackie Tien 8805b3e3d6
Table model v1 2024-08-09 14:46:59 +08:00
Caideyipi 78439da412
Pipe: Implemented Client-Server model in OPC UA Sink & Enable anonymous access settings & Corrected date time format (#13100) 2024-08-09 11:07:38 +08:00
Haonan 0051687b13
Remove the usage of lt_downsampling_java8 (#13108) 2024-08-08 01:20:58 +08:00
Caideyipi d8a200516c
Pipe: Fix the class not found exception of OPC UA connector (#13086) 2024-08-02 18:07:49 +08:00
dependabot[bot] 994a380842
Bump com.nimbusds:nimbus-jose-jwt from 9.37.2 to 9.37.3 (#13072)
Bumps [com.nimbusds:nimbus-jose-jwt](https://bitbucket.org/connect2id/nimbus-jose-jwt) from 9.37.2 to 9.37.3.
- [Changelog](https://bitbucket.org/connect2id/nimbus-jose-jwt/src/master/CHANGELOG.txt)
- [Commits](https://bitbucket.org/connect2id/nimbus-jose-jwt/branches/compare/9.37.3..9.37.2)

---
updated-dependencies:
- dependency-name: com.nimbusds:nimbus-jose-jwt
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-01 21:07:43 +08:00
dependabot[bot] ef5b1b42e5
Bump org.codehaus.mojo:exec-maven-plugin from 3.1.0 to 3.1.1 (#13075)
Bumps [org.codehaus.mojo:exec-maven-plugin](https://github.com/mojohaus/exec-maven-plugin) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/mojohaus/exec-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/exec-maven-plugin/compare/exec-maven-plugin-3.1.0...3.1.1)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:exec-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-01 11:45:22 +08:00
dependabot[bot] c60a5079ee
Bump jetty.version from 9.4.53.v20231009 to 9.4.55.v20240627 (#13073)
Bumps `jetty.version` from 9.4.53.v20231009 to 9.4.55.v20240627.

Updates `org.eclipse.jetty:jetty-http` from 9.4.53.v20231009 to 9.4.55.v20240627

Updates `org.eclipse.jetty:jetty-util` from 9.4.53.v20231009 to 9.4.55.v20240627

Updates `org.eclipse.jetty:jetty-server` from 9.4.53.v20231009 to 9.4.55.v20240627

Updates `org.eclipse.jetty:jetty-servlet` from 9.4.53.v20231009 to 9.4.55.v20240627

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-http
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty:jetty-util
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty:jetty-server
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty:jetty-servlet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-01 11:33:25 +08:00
Brian Demers 77b41310f5
Allows for unit tests to be run in parallel (#12980)
NOTE: This does NOT set Surefire's `forkCount` property, that will be done on an isolated commit
This is to ensure these changes don't negatively affect the existing build.

Details on changes:

- Change to test working directory

  The working directory was changed from `${project.build.directory}` to `${project.build.directory}/fork_${surefire.forkNumber}` (single fork builds would be `<module_name>/target/fork_1`),
  This isolates any test output written to relative paths.  Long term tests may want to be more explicit where they write output to, (e.g. using JUnit 5's `@TempDir` annotation)

- IOTDB_CONF property

  Becuse the working directory change, the IOTDB_CONF directory needs to resolve differently, however, even without parallel tests, this property _should_ use an absolute path

- Test run `mkdirs`

  The tests assumed that the `./target` directory was always present (relative to the working directory), a change to the working directory invalidated this assumption, so any directories a test uses should be created.
  This is probably a good idea even without the parallel test concern. (but in the future this could be replaced with something like JUnit 5's `@TempDir` annotation)

- Hardcoded Ports

  TestUtils, was using a hardcodes sequentially from `6001`, it now uses free JUnit 5's `@TempDir` annotation ports

Fixes: #12979
2024-07-23 14:30:28 +08:00
Haonan 41213b097f
Bump tsfile version to 1.0.1-a6fb416-SNAPSHOT (#12999) 2024-07-23 14:22:09 +08:00
Haonan d70b5b9ee3
Bump jline version to 3.26.2 (#12956)
Dependency maven:org.jline:jline:3.23.0 is vulnerable

Upgrade to 3.26.2

CVE-2023-50572, Score: 5.5

An issue in the component "GroovyEngine.execute" of jline-groovy versions through 3.24.1 allows attackers to cause an OOM (OutofMemory) error.

Read More: https://devhub.checkmarx.com/cve-details/CVE-2023-50572?utm_source=jetbrains&utm_medium=referral
2024-07-17 19:23:01 +08:00
Haonan ec63dc1722
Upgrade thrift plugin and optimize codegen for go client (#12949) 2024-07-17 10:52:43 +08:00
Haonan 0c66c2f1c9
Update tsfile version to fix LRBE encoding issue (#12873) 2024-07-08 13:33:19 +08:00
Haonan c01eec2ba8
Update TsFile version (#12867) 2024-07-07 21:24:00 +08:00
dependabot[bot] ec5374adfb
Bump reactor-netty.version from 1.1.13 to 1.1.20 (#12840)
* Bump reactor-netty.version from 1.1.13 to 1.1.20

Bumps `reactor-netty.version` from 1.1.13 to 1.1.20.

Updates `io.projectreactor.netty:reactor-netty-http` from 1.1.13 to 1.1.20
- [Release notes](https://github.com/reactor/reactor-netty/releases)
- [Commits](https://github.com/reactor/reactor-netty/compare/v1.1.13...v1.1.20)

Updates `io.projectreactor.netty:reactor-netty-core` from 1.1.13 to 1.1.20
- [Release notes](https://github.com/reactor/reactor-netty/releases)
- [Commits](https://github.com/reactor/reactor-netty/compare/v1.1.13...v1.1.20)

---
updated-dependencies:
- dependency-name: io.projectreactor.netty:reactor-netty-http
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.projectreactor.netty:reactor-netty-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update pom.xml

* Update pom.xml

* Update pom.xml

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Haonan <hhaonan@outlook.com>
2024-07-05 16:02:37 +08:00
dependabot[bot] e57285be6e
Bump jaxb-core from 2.3.0 to 2.3.0.1 (#10411)
Bumps jaxb-core from 2.3.0 to 2.3.0.1.

---
updated-dependencies:
- dependency-name: com.sun.xml.bind:jaxb-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-02 12:35:56 +08:00
dependabot[bot] bc6a393d8e
Bump commons-codec:commons-codec from 1.16.0 to 1.16.1 (#12831)
Bumps [commons-codec:commons-codec](https://github.com/apache/commons-codec) from 1.16.0 to 1.16.1.
- [Changelog](https://github.com/apache/commons-codec/blob/master/RELEASE-NOTES.txt)
- [Commits](https://github.com/apache/commons-codec/compare/rel/commons-codec-1.16.0...rel/commons-codec-1.16.1)

---
updated-dependencies:
- dependency-name: commons-codec:commons-codec
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 21:42:55 +08:00
William Song 4b805661ea
bump ratis version to 3.1.0 (#12807) 2024-06-27 10:16:42 +08:00
Liao Lanyu 3dd6c8c321
update tsfile version 2024-06-21 16:12:30 +08:00
shuwenwei 9c3d3ea803
Update tsfile version (#12774)
* update tsfile version

* update tsfile version
2024-06-20 22:06:22 +08:00
Haonan 3ae990b852
Update pom.xml to fix security issue (#12705)
Co-authored-by: Christofer Dutz <cdutz@apache.org>
2024-06-12 15:16:37 +08:00
Haonan baa9e5dd86
Bump version of master branch to 1.3.3-SNAPSHOT (#12672) 2024-06-06 11:32:48 +08:00
Christofer Dutz 6d708ca9be
Feature/updated cmake (#12589)
chore: Updated to a new version of cmake-maven-plugin (and with that also CMake) that supports building on:
- Mac, Linux and Windows for CPU architectures x86_64, amd64 and aarch64
2024-05-28 16:27:12 +02:00
Chen YZ cb1bca615d
Support new data type: DATE, TIMESTAMP, BLOB and STRING 2024-05-28 15:55:54 +08:00
YangCaiyin 9a29af7ce1
[IOTDB-6325] Support RegionScan for active metadata queries [BE Part One] 2024-05-23 08:34:49 +08:00
Caideyipi e4f4ed0311
Pipe: Added metrics to schema transfer / remaining event / remaining time (#12478)
Co-authored-by: Steve Yurong Su <rong@apache.org>
2024-05-21 14:27:58 +08:00
dependabot[bot] 318718dad2
Bump org.jacoco:jacoco-maven-plugin from 0.8.10 to 0.8.12 (#12457)
Bumps [org.jacoco:jacoco-maven-plugin](https://github.com/jacoco/jacoco) from 0.8.10 to 0.8.12.
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.10...v0.8.12)

---
updated-dependencies:
- dependency-name: org.jacoco:jacoco-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-20 14:19:46 +08:00