[To dev/1.3] Fix partial insert handling for null measurements (#17879)#17922
[To dev/1.3] Fix partial insert handling for null measurements (#17879)#17922Caideyipi wants to merge 3 commits into
Quality Gate failed
Failed conditions
6.1% Duplication on New Code (required ≤ 5%)
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
sonarqubecloud / SonarCloud Code Analysis
Unicode escape(s) usage should be avoided.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ65gxrAGiqAEoYQEp6U&open=AZ65gxrAGiqAEoYQEp6U&pullRequest=17922
sonarqubecloud / SonarCloud Code Analysis
Rename "bitMaps" which hides the field declared at line 74.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ65gxxtGiqAEoYQEp6s&open=AZ65gxxtGiqAEoYQEp6s&pullRequest=17922
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=AZ65gx0GGiqAEoYQEp69&open=AZ65gx0GGiqAEoYQEp69&pullRequest=17922
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 66 to 64, Complexity from 25 to 14, Nesting Level from 6 to 2, Number of Variables from 24 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ65gxuiGiqAEoYQEp6k&open=AZ65gxuiGiqAEoYQEp6k&pullRequest=17922
sonarqubecloud / SonarCloud Code Analysis
Unicode escape(s) usage should be avoided.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ65gxsyGiqAEoYQEp6Z&open=AZ65gxsyGiqAEoYQEp6Z&pullRequest=17922
sonarqubecloud / SonarCloud Code Analysis
Abbreviation in name 'testSerializeToWALWithShortBitMaps' must contain no more than '2' consecutive capital letters.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ65gxsyGiqAEoYQEp6b&open=AZ65gxsyGiqAEoYQEp6b&pullRequest=17922
sonarqubecloud / SonarCloud Code Analysis
Unicode escape(s) usage should be avoided.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ65gxtQGiqAEoYQEp6i&open=AZ65gxtQGiqAEoYQEp6i&pullRequest=17922
sonarqubecloud / SonarCloud Code Analysis
Abbreviation in name 'getValidMeasurementNumberForWAL' must contain no more than '2' consecutive capital letters.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ65gxxtGiqAEoYQEp6t&open=AZ65gxxtGiqAEoYQEp6t&pullRequest=17922
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=AZ65gxyjGiqAEoYQEp6v&open=AZ65gxyjGiqAEoYQEp6v&pullRequest=17922
sonarqubecloud / SonarCloud Code Analysis
Fix this call that leads to a access on a value that can be null.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ65gxyjGiqAEoYQEp62&open=AZ65gxyjGiqAEoYQEp62&pullRequest=17922
sonarqubecloud / SonarCloud Code Analysis
Unicode escape(s) usage should be avoided.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ65gxrAGiqAEoYQEp6X&open=AZ65gxrAGiqAEoYQEp6X&pullRequest=17922
sonarqubecloud / SonarCloud Code Analysis
Unicode escape(s) usage should be avoided.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ65gxsyGiqAEoYQEp6d&open=AZ65gxsyGiqAEoYQEp6d&pullRequest=17922
sonarqubecloud / SonarCloud Code Analysis
Unicode escape(s) usage should be avoided.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ65gxrAGiqAEoYQEp6V&open=AZ65gxrAGiqAEoYQEp6V&pullRequest=17922
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 169 to 64, Complexity from 25 to 14, Nesting Level from 3 to 2, Number of Variables from 39 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ65gxwVGiqAEoYQEp6n&open=AZ65gxwVGiqAEoYQEp6n&pullRequest=17922
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=AZ65gxzhGiqAEoYQEp65&open=AZ65gxzhGiqAEoYQEp65&pullRequest=17922
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 79 to 64, Complexity from 20 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=AZ65gxv0GiqAEoYQEp6m&open=AZ65gxv0GiqAEoYQEp6m&pullRequest=17922
sonarqubecloud / SonarCloud Code Analysis
Distance between variable 'node' declaration and its first usage is 4, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ65gxseGiqAEoYQEp6Y&open=AZ65gxseGiqAEoYQEp6Y&pullRequest=17922
sonarqubecloud / SonarCloud Code Analysis
Abbreviation in name 'shouldSerializeMeasurementToWAL' must contain no more than '2' consecutive capital letters.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ65gxxtGiqAEoYQEp6u&open=AZ65gxxtGiqAEoYQEp6u&pullRequest=17922
sonarqubecloud / SonarCloud Code Analysis
Abbreviation in name 'testDeserializeFromWALSkipsRetainedMeasurementWithMissingValue' must contain no more than '2' consecutive capital letters.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ65gxrAGiqAEoYQEp6T&open=AZ65gxrAGiqAEoYQEp6T&pullRequest=17922
sonarqubecloud / SonarCloud Code Analysis
Unicode escape(s) usage should be avoided.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ65gxrAGiqAEoYQEp6S&open=AZ65gxrAGiqAEoYQEp6S&pullRequest=17922
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=AZ65gxyjGiqAEoYQEp6x&open=AZ65gxyjGiqAEoYQEp6x&pullRequest=17922
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ65gxyjGiqAEoYQEp61&open=AZ65gxyjGiqAEoYQEp61&pullRequest=17922
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=AZ65gxyjGiqAEoYQEp6z&open=AZ65gxyjGiqAEoYQEp6z&pullRequest=17922
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=AZ65gxzsGiqAEoYQEp67&open=AZ65gxzsGiqAEoYQEp67&pullRequest=17922
sonarqubecloud / SonarCloud Code Analysis
Expected @throws tag for 'IllegalPathException'.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ65gxtDGiqAEoYQEp6h&open=AZ65gxtDGiqAEoYQEp6h&pullRequest=17922