Skip to content

Distinguish tree and table unordered result test helpers - #19010

Merged
JackieTien97 merged 1 commit into
masterfrom
ty/unordered-result-test-helpers
Oct 24, 2026
Merged

JackieTien97 merged 1 commit into
masterfrom
ty/unordered-result-test-helpers

Distinguish tree and table unordered result test helpers

944db97
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Oct 23, 2026 in 6m 1s

Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)
E Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 303 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/LocalExecutionPlanContext.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFrM-QIgj8oIDfT7Zhw&open=AaFrM-QIgj8oIDfT7Zhw&pullRequest=19010

Check warning on line 19 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/table/TreeToTableViewCache.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'package' should be separated from previous line.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFrM-2Igj8oIDfT7ZiE&open=AaFrM-2Igj8oIDfT7ZiE&pullRequest=19010

Check warning on line 237 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ProcedureManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make this private field "final", it is never reassigned.

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

Check warning on line 426 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/memory/MemoryPool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 120).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFrM-l9gj8oIDfT7Zh6&open=AaFrM-l9gj8oIDfT7Zh6&pullRequest=19010

Check failure on line 647 in iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBJDBCResultSet.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed.

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

Check warning on line 203 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/table/ViewColumnAutoSyncTrigger.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Summary javadoc is missing.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFrM-2Tgj8oIDfT7ZiN&open=AaFrM-2Tgj8oIDfT7ZiN&pullRequest=19010

Check warning on line 533 in iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/relational/IoTDBRelationalDatabaseMetadata.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'SQLException'.

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

Check warning on line 888 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make this private field "final", it is never reassigned.

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

Check warning on line 74 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/table/ViewColumnAutoSyncTrigger.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a private constructor to hide the implicit public one.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFrM-2Tgj8oIDfT7ZiL&open=AaFrM-2Tgj8oIDfT7ZiL&pullRequest=19010

Check warning on line 277 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/table/ViewColumnAutoSyncTrigger.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Local variable name 'tAlterOrDropTableReq' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFrM-2Tgj8oIDfT7ZiO&open=AaFrM-2Tgj8oIDfT7ZiO&pullRequest=19010

Check warning on line 149 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make this private field "final", it is never reassigned.

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

Check warning on line 688 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ProcedureManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 110).

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

Check warning on line 1561 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/schema/ClusterSchemaInfo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'MetadataException'.

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

Check warning on line 2772 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/TsFileProcessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Invert this negated condition and swap the two branches of the ternary.

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

Check warning on line 122 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/schema/table/view/AddViewColumnProcedure.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this lambda with method reference 'TagColumnSchema.class::isInstance'.

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

Check warning on line 83 in iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBJDBCResultSet.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make this private field "final", it is never reassigned.

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

Check warning on line 898 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/broker/consensus/ProgressWALIterator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Invert this negated condition and swap the two branches of the ternary.

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

Check warning on line 732 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/consensus/statemachine/schemaregion/SchemaExecutionVisitor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 152).

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

Check warning on line 33 in iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBResultMetadata.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make this private field "final", it is never reassigned.

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

Check warning on line 2951 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/protocol/thrift/impl/DataNodeInternalRPCServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'Exception'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFrM-u-gj8oIDfT7ZiA&open=AaFrM-u-gj8oIDfT7ZiA&pullRequest=19010

Check warning on line 25 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/view/TreeToTableViewReference.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this class declaration to use 'record TreeToTableViewReference(String databaseName, String tableName, boolean ...)'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaFrM-2Egj8oIDfT7ZiD&open=AaFrM-2Egj8oIDfT7ZiD&pullRequest=19010

Check warning on line 34 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/exception/table/ColumnInAlterException.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 162).

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

Check warning on line 292 in iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBResultMetadata.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge the previous cases into this one using comma-separated label.

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

Check warning on line 123 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/splitter/ChunkPayloadRef.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested try block into a separate method.

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

Check warning on line 325 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/DataNodeMemoryConfig.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the "new int[]" prefix; the declaration already specifies the array type.

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