Skip to content

[To dev/1.3] Load: Harden LOAD TSFILE source path validation (#17624)#17654

Merged
jt2594838 merged 4 commits into
dev/1.3from
ger-shop-2
May 13, 2026
Merged

[To dev/1.3] Load: Harden LOAD TSFILE source path validation (#17624)#17654
jt2594838 merged 4 commits into
dev/1.3from
ger-shop-2

Update IoTDBDescriptor.java

83def90
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 13, 2026 in 2m 4s

Annotations

Check failure on line 2454 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "load_tsfile_allowed_dirs" 3 times.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4fPaXWpETyNqbohst1&open=AZ4fPaXWpETyNqbohst1&pullRequest=17654

Check failure on line 63 in iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/plan/statement/crud/LoadTsFileStatementTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4fPaTipETyNqbohst0&open=AZ4fPaTipETyNqbohst0&pullRequest=17654