Added flags to mark whether a device has device descendants to optimize query like select xx from xxx.** #17672
Quality Gate failed
Failed conditions
19.3% Duplication on New Code (required ≤ 5%)
Annotations
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 69 to 64, Complexity from 20 to 14, Nesting Level from 4 to 2, Number of Variables from 18 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4mlnE8I-vGf32cLFKF&open=AZ4mlnE8I-vGf32cLFKF&pullRequest=17672
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=AZ4mlnCmI-vGf32cLFKE&open=AZ4mlnCmI-vGf32cLFKE&pullRequest=17672
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 85 to 64, Complexity from 21 to 14, Nesting Level from 6 to 2, Number of Variables from 18 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4m06snrfNQ6yOhHtD2&open=AZ4m06snrfNQ6yOhHtD2&pullRequest=17672
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 69 to 64, Complexity from 17 to 14, Nesting Level from 5 to 2, Number of Variables from 17 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4m06snrfNQ6yOhHtD1&open=AZ4m06snrfNQ6yOhHtD1&pullRequest=17672