Skip to content

Subscription: support table-model column-filter for topics#17936

Open
VGalaxies wants to merge 5 commits into
masterfrom
feature/subscription-column-filter
Open

Subscription: support table-model column-filter for topics#17936
VGalaxies wants to merge 5 commits into
masterfrom
feature/subscription-column-filter

Subscription: add tree-view column-filter IT

718d1a0
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jun 13, 2026 in 3m 4s

Annotations

Check warning on line 109 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/columnfilter/ColumnFilterBinder.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=AZ688g6qzat-rTvK-hyR&open=AZ688g6qzat-rTvK-hyR&pullRequest=17936

Check warning on line 72 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/columnfilter/ColumnFilterEvaluator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a primitive boolean expression here.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ688g6zzat-rTvK-hyT&open=AZ688g6zzat-rTvK-hyT&pullRequest=17936

Check warning on line 1229 in iotdb-client/subscription/src/main/java/org/apache/iotdb/session/subscription/consumer/base/AbstractSubscriptionConsumer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'block' child has incorrect indentation level 12, expected level should be 10.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ688g8lzat-rTvK-hyd&open=AZ688g8lzat-rTvK-hyd&pullRequest=17936

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 90 to 64, Complexity from 20 to 14, Nesting Level from 4 to 2, Number of Variables from 10 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ688g2dzat-rTvK-hyN&open=AZ688g2dzat-rTvK-hyN&pullRequest=17936

Check warning on line 1230 in iotdb-client/subscription/src/main/java/org/apache/iotdb/session/subscription/consumer/base/AbstractSubscriptionConsumer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'block' child has incorrect indentation level 12, expected level should be 10.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ688g8lzat-rTvK-hye&open=AZ688g8lzat-rTvK-hye&pullRequest=17936

Check failure on line 41 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/columnfilter/TabletColumnPruner.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ688g66zat-rTvK-hyU&open=AZ688g66zat-rTvK-hyU&pullRequest=17936

Check warning on line 47 in iotdb-client/subscription/src/main/java/org/apache/iotdb/rpc/subscription/payload/poll/SubscriptionPollResponse.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the "transient" modifier from this field.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ688g9jzat-rTvK-hyf&open=AZ688g9jzat-rTvK-hyf&pullRequest=17936

Check warning on line 104 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/payload/evolvable/batch/PipeTabletEventTsFileBatch.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce the total number of break and continue statements in this loop to use at most one.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ688gvxzat-rTvK-hyL&open=AZ688gvxzat-rTvK-hyL&pullRequest=17936

Check warning on line 64 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/columnfilter/ColumnFilterParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use concise character class syntax '\\w' instead of '[A-Za-z_0-9]'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ688g7Dzat-rTvK-hyb&open=AZ688g7Dzat-rTvK-hyb&pullRequest=17936

Check failure on line 540 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/broker/consensus/ConsensusLogToTabletConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ688g21zat-rTvK-hyO&open=AZ688g21zat-rTvK-hyO&pullRequest=17936

Check warning on line 64 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/columnfilter/ColumnFilterEvaluator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a primitive boolean expression here.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ688g6yzat-rTvK-hyS&open=AZ688g6yzat-rTvK-hyS&pullRequest=17936

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 67 to 64, Complexity from 17 to 14, Nesting Level from 3 to 2, Number of Variables from 17 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ688g2dzat-rTvK-hyM&open=AZ688g2dzat-rTvK-hyM&pullRequest=17936

Check warning on line 62 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/columnfilter/ColumnFilterParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use concise character class syntax '\\w' instead of '[A-Za-z_0-9]'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ688g7Dzat-rTvK-hyY&open=AZ688g7Dzat-rTvK-hyY&pullRequest=17936

Check warning on line 1151 in iotdb-client/subscription/src/main/java/org/apache/iotdb/session/subscription/consumer/base/AbstractSubscriptionConsumer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 94 to 64, Complexity from 15 to 14, Nesting Level from 4 to 2, Number of Variables from 22 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ688g8lzat-rTvK-hyc&open=AZ688g8lzat-rTvK-hyc&pullRequest=17936

Check warning on line 60 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/columnfilter/ColumnFilterParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use concise character class syntax '\\w' instead of '[A-Za-z_0-9]'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ688g7Dzat-rTvK-hyX&open=AZ688g7Dzat-rTvK-hyX&pullRequest=17936

Check warning on line 669 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 126).

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ688g4Qzat-rTvK-hyP&open=AZ688g4Qzat-rTvK-hyP&pullRequest=17936

Check warning on line 143 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/columnfilter/ColumnFilterParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code in order to not assign to this loop counter from within the loop body.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ688g7Dzat-rTvK-hyW&open=AZ688g7Dzat-rTvK-hyW&pullRequest=17936

Check warning on line 90 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/columnfilter/ColumnFilterBinder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce the total number of break and continue statements in this loop to use at most one.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ688g6qzat-rTvK-hyQ&open=AZ688g6qzat-rTvK-hyQ&pullRequest=17936

Check warning on line 152 in iotdb-client/subscription/src/main/java/org/apache/iotdb/rpc/subscription/payload/poll/SubscriptionPollResponse.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unnecessary boolean literal.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ688g9jzat-rTvK-hyh&open=AZ688g9jzat-rTvK-hyh&pullRequest=17936

Check warning on line 64 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/columnfilter/ColumnFilterParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove duplicates in this character class.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ688g7Dzat-rTvK-hyZ&open=AZ688g7Dzat-rTvK-hyZ&pullRequest=17936

Check warning on line 49 in iotdb-client/subscription/src/main/java/org/apache/iotdb/rpc/subscription/payload/poll/SubscriptionPollResponse.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the "transient" modifier from this field.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ688g9jzat-rTvK-hyg&open=AZ688g9jzat-rTvK-hyg&pullRequest=17936

Check warning on line 64 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/columnfilter/ColumnFilterParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove duplicates in this character class.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ688g7Dzat-rTvK-hya&open=AZ688g7Dzat-rTvK-hya&pullRequest=17936

Check warning on line 41 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/subscription/columnfilter/TabletColumnPruner.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 77 to 64, Complexity from 23 to 14, Nesting Level from 3 to 2, Number of Variables from 22 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ688g66zat-rTvK-hyV&open=AZ688g66zat-rTvK-hyV&pullRequest=17936

Check warning on line 314 in iotdb-client/subscription/src/main/java/org/apache/iotdb/rpc/subscription/config/TopicConfig.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this lambda with method reference 'expectedKey::equalsIgnoreCase'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ688g-Azat-rTvK-hyi&open=AZ688g-Azat-rTvK-hyi&pullRequest=17936