Skip to content

HIVE-29770: Iceberg: Return VARIANT values as JSON over the HS2 Thrift protocol - #6644

Open
deniskuzZ wants to merge 1 commit into
apache:masterfrom
deniskuzZ:HIVE-29770
Open

HIVE-29770: Iceberg: Return VARIANT values as JSON over the HS2 Thrift protocol#6644
deniskuzZ wants to merge 1 commit into
apache:masterfrom
deniskuzZ:HIVE-29770

HIVE-29770: Iceberg: Return VARIANT values as JSON over the HS2 Thrif…

b69b624
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 28, 2026 in 9m 34s

Annotations

Check warning on line 220 in serde/src/java/org/apache/hadoop/hive/serde2/SerDeUtils.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 192 to 64, Complexity from 37 to 14, Nesting Level from 4 to 2, Number of Variables from 24 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AZ-lF6QNFp8FN2qbFIw3&open=AZ-lF6QNFp8FN2qbFIw3&pullRequest=6644

Check warning on line 70 in serde/src/test/org/apache/hadoop/hive/serde2/TestSerDeUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AZ-lF6QVFp8FN2qbFIw6&open=AZ-lF6QVFp8FN2qbFIw6&pullRequest=6644

Check warning on line 234 in jdbc/src/java/org/apache/hive/jdbc/JdbcColumn.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'block' child has incorrect indentation level 8, expected level should be 6.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AZ-lF6QwFp8FN2qbFIxA&open=AZ-lF6QwFp8FN2qbFIxA&pullRequest=6644

Check warning on line 220 in serde/src/java/org/apache/hadoop/hive/serde2/SerDeUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Method buildJSONString length is 193 lines (max allowed is 150).

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AZ-lF6QNFp8FN2qbFIw5&open=AZ-lF6QNFp8FN2qbFIw5&pullRequest=6644

Check failure on line 220 in serde/src/java/org/apache/hadoop/hive/serde2/SerDeUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AZ-lF6QNFp8FN2qbFIw2&open=AZ-lF6QNFp8FN2qbFIw2&pullRequest=6644

Check warning on line 233 in jdbc/src/java/org/apache/hive/jdbc/JdbcColumn.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'case' child has incorrect indentation level 6, expected level should be 4.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AZ-lF6QwFp8FN2qbFIw_&open=AZ-lF6QwFp8FN2qbFIw_&pullRequest=6644

Check warning on line 71 in serde/src/test/org/apache/hadoop/hive/serde2/TestSerDeUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'{' is followed by whitespace.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AZ-lF6QVFp8FN2qbFIw9&open=AZ-lF6QVFp8FN2qbFIw9&pullRequest=6644

Check warning on line 71 in serde/src/test/org/apache/hadoop/hive/serde2/TestSerDeUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'{' is followed by whitespace.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AZ-lF6QVFp8FN2qbFIw-&open=AZ-lF6QVFp8FN2qbFIw-&pullRequest=6644

Check warning on line 219 in service/src/java/org/apache/hive/service/cli/ColumnValue.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_hive&issues=AZ-lF6RMFp8FN2qbFIxB&open=AZ-lF6RMFp8FN2qbFIxB&pullRequest=6644

Check warning on line 465 in serde/src/java/org/apache/hadoop/hive/serde2/SerDeUtils.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 82 to 64, Complexity from 22 to 14, Nesting Level from 4 to 2, Number of Variables from 15 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AZ-lF6QNFp8FN2qbFIw4&open=AZ-lF6QNFp8FN2qbFIw4&pullRequest=6644

Check warning on line 1 in serde/src/test/org/apache/hadoop/hive/serde2/TestSerDeUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

File does not end with a newline.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AZ-lF6QVFp8FN2qbFIw8&open=AZ-lF6QVFp8FN2qbFIw8&pullRequest=6644

Check warning on line 77 in serde/src/test/org/apache/hadoop/hive/serde2/TestSerDeUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AZ-lF6QVFp8FN2qbFIw7&open=AZ-lF6QVFp8FN2qbFIw7&pullRequest=6644

Check warning on line 275 in serde/src/java/org/apache/hadoop/hive/serde2/thrift/Type.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Avoid nested blocks.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AZ-lF6PsFp8FN2qbFIw1&open=AZ-lF6PsFp8FN2qbFIw1&pullRequest=6644