Support COPY TO TsFile for exporting query results in table model #17372
Quality Gate passed
Annotations
sonarqubecloud / SonarCloud Code Analysis
Replace generic exceptions with specific library exceptions or a custom exception.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ0uNFa9i-iZW_FKWHGe&open=AZ0uNFa9i-iZW_FKWHGe&pullRequest=17372
sonarqubecloud / SonarCloud Code Analysis
Use super.clone() to create and seed the cloned instance to be returned.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ0uNFTUi-iZW_FKWHGJ&open=AZ0uNFTUi-iZW_FKWHGJ&pullRequest=17372
sonarqubecloud / SonarCloud Code Analysis
Replace generic exceptions with specific library exceptions or a custom exception.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ0uNFafi-iZW_FKWHGX&open=AZ0uNFafi-iZW_FKWHGX&pullRequest=17372
sonarqubecloud / SonarCloud Code Analysis
Replace generic exceptions with specific library exceptions or a custom exception.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ0uNFa9i-iZW_FKWHGf&open=AZ0uNFa9i-iZW_FKWHGf&pullRequest=17372
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 161 to 64, Complexity from 21 to 14, Nesting Level from 3 to 2, Number of Variables from 26 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ0uNFUNi-iZW_FKWHGL&open=AZ0uNFUNi-iZW_FKWHGL&pullRequest=17372
sonarqubecloud / SonarCloud Code Analysis
Remove this "clone" implementation; use a copy constructor or copy factory instead.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ0uNFTUi-iZW_FKWHGK&open=AZ0uNFTUi-iZW_FKWHGK&pullRequest=17372
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 120 to 64, Complexity from 18 to 14, Nesting Level from 3 to 2, Number of Variables from 35 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ0uNFXzi-iZW_FKWHGT&open=AZ0uNFXzi-iZW_FKWHGT&pullRequest=17372
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=AZ0uNFa0i-iZW_FKWHGd&open=AZ0uNFa0i-iZW_FKWHGd&pullRequest=17372
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 110 to 64, Complexity from 22 to 14, Nesting Level from 6 to 2, Number of Variables from 22 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ0uNFXzi-iZW_FKWHGS&open=AZ0uNFXzi-iZW_FKWHGS&pullRequest=17372
sonarqubecloud / SonarCloud Code Analysis
Override the "equals" method in this class.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ0uNFTUi-iZW_FKWHGI&open=AZ0uNFTUi-iZW_FKWHGI&pullRequest=17372
sonarqubecloud / SonarCloud Code Analysis
Merge this if statement with the enclosing one.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ0uNFa0i-iZW_FKWHGc&open=AZ0uNFa0i-iZW_FKWHGc&pullRequest=17372
sonarqubecloud / SonarCloud Code Analysis
Remove the "copyToTargetDirs" field and declare it as a local variable in the relevant methods.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ0uNFL6i-iZW_FKWHGG&open=AZ0uNFL6i-iZW_FKWHGG&pullRequest=17372
sonarqubecloud / SonarCloud Code Analysis
All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '412'.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ0uNFUri-iZW_FKWHGP&open=AZ0uNFUri-iZW_FKWHGP&pullRequest=17372
sonarqubecloud / SonarCloud Code Analysis
Distance between variable 'timeColumnIdxInQueryTsBlock' 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=AZ0uNFaoi-iZW_FKWHGb&open=AZ0uNFaoi-iZW_FKWHGb&pullRequest=17372
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 112 to 64, Complexity from 16 to 14, Nesting Level from 4 to 2, Number of Variables from 20 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ0uNFL6i-iZW_FKWHGH&open=AZ0uNFL6i-iZW_FKWHGH&pullRequest=17372
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=AZ0uNFUri-iZW_FKWHGO&open=AZ0uNFUri-iZW_FKWHGO&pullRequest=17372
sonarqubecloud / SonarCloud Code Analysis
Replace this "switch" statement by "if" statements to increase readability.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ0uNFZsi-iZW_FKWHGW&open=AZ0uNFZsi-iZW_FKWHGW&pullRequest=17372
sonarqubecloud / SonarCloud Code Analysis
Replace this "switch" statement by "if" statements to increase readability.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ0uNFafi-iZW_FKWHGa&open=AZ0uNFafi-iZW_FKWHGa&pullRequest=17372
sonarqubecloud / SonarCloud Code Analysis
'if' construct must use '{}'s.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ0uNFU0i-iZW_FKWHGQ&open=AZ0uNFU0i-iZW_FKWHGQ&pullRequest=17372
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 111 to 64, Complexity from 19 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=AZ0uNFUNi-iZW_FKWHGM&open=AZ0uNFUNi-iZW_FKWHGM&pullRequest=17372
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 120 to 64, Complexity from 15 to 14, Nesting Level from 4 to 2, Number of Variables from 41 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ0uNFZVi-iZW_FKWHGV&open=AZ0uNFZVi-iZW_FKWHGV&pullRequest=17372
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 179 to 64, Complexity from 21 to 14, Nesting Level from 4 to 2, Number of Variables from 40 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ0uNFZVi-iZW_FKWHGU&open=AZ0uNFZVi-iZW_FKWHGU&pullRequest=17372