Skip to content

Use column header constants in pipe authentication assertions - #19131

Merged
jt2594838 merged 2 commits into
masterfrom
codex/refactor-pipe-user-header-origin-master-20261105
Nov 6, 2026
Merged

jt2594838 merged 2 commits into
masterfrom
codex/refactor-pipe-user-header-origin-master-20261105

Use canonical column names in pipe privilege assertions

51a15f5
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 5, 2026 in 9m 49s

Quality Gate failed

Failed conditions
C 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 59 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/IoTDBDataDirViewer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "printf" instead of "String.format".

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

Check warning on line 219 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/validate/TsFileValidationTool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this use of System.out by a logger.

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

Check failure on line 388 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/pipe/PipeTaskInfo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Fix this access that will throw a NullPointerException when executed.

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

Check warning on line 24 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/sink/payload/airgap/AirGapPseudoTPipeTransferRequest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Override the "equals" method in this class.

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

Check warning on line 354 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/agent/SubscriptionBrokerAgent.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 151).

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

Check warning on line 338 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/pipe/coordinator/task/PipeTaskCoordinator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 108).

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

Check warning on line 1124 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/iotconsensusv2/IoTConsensusV2Receiver.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 128).

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

Check warning on line 319 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/mtree/impl/pbtree/schemafile/SchemaFile.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 268).

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

Check warning on line 309 in iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/iot/IoTConsensusServerImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 248).

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

Check warning on line 4390 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/sql/parser/AstBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 130).

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

Check warning on line 297 in iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/subscription/SubscriptionInfo.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 103).

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

Check warning on line 85 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/tool/PrintUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 101).

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

Check warning on line 75 in iotdb-core/calc-commons/src/main/java/org/apache/iotdb/calc/transformation/dag/column/unary/scalar/BytesToFloatColumnTransformer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 124).

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

Check warning on line 149 in iotdb-client/cli/src/main/java/org/apache/iotdb/tool/tsfile/ImportTsFileBase.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 107).

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

Check warning on line 46 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/statement/component/IntoComponent.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 121).

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

Check warning on line 395 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/AnalyzeUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 138).

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

Check warning on line 113 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/utils/TsFileRewriteSmallRangeI64Scan.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this use of System.out by a logger.

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

Check warning on line 54 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/validate/TsFileOverlapValidationAndRepairTool.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this use of System.out by a logger.

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

Check warning on line 74 in iotdb-core/calc-commons/src/main/java/org/apache/iotdb/calc/transformation/dag/column/unary/scalar/BytesToDoubleColumnTransformer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 124).

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

Check warning on line 405 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/agent/task/PipeTaskAgent.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 112).

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

Check warning on line 189 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/iterative/rule/TransformCorrelatedScalarSubquery.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 103).

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

Check warning on line 819 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/Coordinator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof InsertRows insertrows'

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

Check warning on line 182 in library-udf/src/main/java/org/apache/iotdb/library/match/UDAFPatternMatch.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 101).

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

Check warning on line 62 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/sql/ast/AsofJoinOn.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 103).

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

Check warning on line 207 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/CommonUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 100 characters (found 127).

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