Pipe: order historical TsFiles by query priority#18088
Quality Gate passed
Annotations
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=AZ88TAvpj_ZpjqL4MfOj&open=AZ88TAvpj_ZpjqL4MfOj&pullRequest=18088
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=AZ8gv7ZwXgCgWw53Sru2&open=AZ8gv7ZwXgCgWw53Sru2&pullRequest=18088
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof HybridProgressIndex hybridprogressindex'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ88TAi-j_ZpjqL4MfOi&open=AZ88TAi-j_ZpjqL4MfOi&pullRequest=18088
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof HybridProgressIndex hybridprogressindex'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ88TAvpj_ZpjqL4MfOm&open=AZ88TAvpj_ZpjqL4MfOm&pullRequest=18088
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof TimePartitionProgressIndex timepartitionprogressindex'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ88TAvpj_ZpjqL4MfOs&open=AZ88TAvpj_ZpjqL4MfOs&pullRequest=18088
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof PipeTsFileInsertionEvent pipetsfileinsertionevent'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ8gv7UHXgCgWw53Sruy&open=AZ8gv7UHXgCgWw53Sruy&pullRequest=18088
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof HybridProgressIndex hybridprogressindex'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ88TAvpj_ZpjqL4MfOr&open=AZ88TAvpj_ZpjqL4MfOr&pullRequest=18088
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 103 to 64, Complexity from 21 to 14, Nesting Level from 5 to 2, Number of Variables from 13 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ8gv7ZSXgCgWw53Sruz&open=AZ8gv7ZSXgCgWw53Sruz&pullRequest=18088
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof TimePartitionProgressIndex timepartitionprogressindex'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ88TAvpj_ZpjqL4MfOl&open=AZ88TAvpj_ZpjqL4MfOl&pullRequest=18088
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof StateProgressIndex stateprogressindex'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ88TAvpj_ZpjqL4MfOo&open=AZ88TAvpj_ZpjqL4MfOo&pullRequest=18088
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof TsFileResource tsfileresource'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ8gv7ZwXgCgWw53Sru0&open=AZ8gv7ZwXgCgWw53Sru0&pullRequest=18088
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof StateProgressIndex stateProgressIndex'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ88TAvpj_ZpjqL4MfOk&open=AZ88TAvpj_ZpjqL4MfOk&pullRequest=18088
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof TimePartitionProgressIndex timepartitionprogressindex'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ88TAvpj_ZpjqL4MfOq&open=AZ88TAvpj_ZpjqL4MfOq&pullRequest=18088
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 32 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ8gv7ZwXgCgWw53Sru1&open=AZ8gv7ZwXgCgWw53Sru1&pullRequest=18088
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=AZ88TAvpj_ZpjqL4MfOp&open=AZ88TAvpj_ZpjqL4MfOp&pullRequest=18088
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof TimeWindowStateProgressIndex timewindowstateprogressindex'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ88TAvpj_ZpjqL4MfOn&open=AZ88TAvpj_ZpjqL4MfOn&pullRequest=18088