Skip to content

HIVE-30038: Preparing for 4.2.2 development. - #6788

Merged
saihemanth-cloudera merged 2 commits into
apache:branch-4.2.1from
saihemanth-cloudera:branch-4.2.1
Sep 28, 2026
Merged

saihemanth-cloudera merged 2 commits into
apache:branch-4.2.1from
saihemanth-cloudera:branch-4.2.1

HIVE-30038: Map 4.2.2 schema version to 4.2.0 for DB init.

f3d619a
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Sep 22, 2026 in 42m 47s

Annotations

Check warning on line 7592 in standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnBoJPieDuaT-Cl34F&open=AaCnBoJPieDuaT-Cl34F&pullRequest=6788

Check warning on line 5619 in standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnBoGnieDuaT-Cl3vv&open=AaCnBoGnieDuaT-Cl3vv&pullRequest=6788

Check warning on line 863 in ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/TestCleaner.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

JUnit Jupiter tests should not use JUnit 4 assertions.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnBjRzieDuaT-Cl3j-&open=AaCnBjRzieDuaT-Cl3j-&pullRequest=6788

Check warning on line 452 in serde/src/java/org/apache/hadoop/hive/serde2/lazy/fast/LazySimpleDeserializeRead.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "escapeCounts" which hides the field declared at line 202.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnBxpQieDuaT-Cl4Hv&open=AaCnBxpQieDuaT-Cl4Hv&pullRequest=6788

Check warning on line 354 in itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcDriver2.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "con" which hides the field declared at line 129.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnBtf8ieDuaT-Cl4D-&open=AaCnBtf8ieDuaT-Cl4D-&pullRequest=6788

Check warning on line 69 in standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/DatabaseProduct.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnBoD_ieDuaT-Cl3rv&open=AaCnBoD_ieDuaT-Cl3rv&pullRequest=6788

Check warning on line 9 in common/src/java/org/apache/hadoop/hive/common/type/TimestampTZ.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line does not match expected header line of ' *'.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnBwCHieDuaT-Cl4HB&open=AaCnBwCHieDuaT-Cl4HB&pullRequest=6788

Check failure on line 3282 in standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "partitionName ascending" 6 times.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnBoJPieDuaT-Cl341&open=AaCnBoJPieDuaT-Cl341&pullRequest=6788

Check warning on line 328 in ql/src/java/org/apache/hadoop/hive/llap/ProactiveEviction.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this "Map.get()" and condition with a call to "Map.computeIfAbsent()".

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnBhPvieDuaT-Cl3hM&open=AaCnBhPvieDuaT-Cl3hM&pullRequest=6788

Check warning on line 2 in accumulo-handler/src/test/org/apache/hadoop/hive/accumulo/TestLazyAccumuloMap.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnB1lNieDuaT-Cl4Ky&open=AaCnB1lNieDuaT-Cl4Ky&pullRequest=6788

Check warning on line 39 in ql/src/test/org/apache/hadoop/hive/ql/metadata/TestMaterializedViewsCache.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'org.apache.hadoop.hive.conf.HiveConf'.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnBkeXieDuaT-Cl3mA&open=AaCnBkeXieDuaT-Cl3mA&pullRequest=6788

Check warning on line 258 in ql/src/java/org/apache/hadoop/hive/ql/udf/esri/GeometryUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'if' construct must use '{}'s.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnBWIzieDuaT-Cl3V_&open=AaCnBWIzieDuaT-Cl3V_&pullRequest=6788

Check warning on line 9 in standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/messaging/AlterCatalogMessage.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line does not match expected header line of ' *'.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnBmkiieDuaT-Cl3of&open=AaCnBmkiieDuaT-Cl3of&pullRequest=6788

Check warning on line 10072 in standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'org.apache.hadoop.hive.metastore.api.InvalidObjectException', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnBoJPieDuaT-Cl36z&open=AaCnBoJPieDuaT-Cl36z&pullRequest=6788

Check warning on line 363 in ql/src/java/org/apache/hadoop/hive/ql/parse/DruidSqlOperatorConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 120 characters (found 125).

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnBax5ieDuaT-Cl3cH&open=AaCnBax5ieDuaT-Cl3cH&pullRequest=6788

Check warning on line 789 in ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/TestCleaner.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnBjRzieDuaT-Cl3k1&open=AaCnBjRzieDuaT-Cl3k1&pullRequest=6788

Check warning on line 8934 in standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'method def modifier' has incorrect indentation level 1, expected level should be 2.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnBoGnieDuaT-Cl33R&open=AaCnBoGnieDuaT-Cl33R&pullRequest=6788

Check warning on line 668 in standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/security/HadoopThriftAuthBridge.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'if' child has incorrect indentation level 11, expected level should be 12.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnBqVHieDuaT-Cl4Cz&open=AaCnBqVHieDuaT-Cl4Cz&pullRequest=6788

Check warning on line 9 in standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/entities/CompactionMetricsData.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line does not match expected header line of ' *'.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnBmCHieDuaT-Cl3oB&open=AaCnBmCHieDuaT-Cl3oB&pullRequest=6788

Check warning on line 4695 in standalone-metastore/metastore-client/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'method def' child has incorrect indentation level 5, expected level should be 4.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnBrIdieDuaT-Cl4DF&open=AaCnBrIdieDuaT-Cl4DF&pullRequest=6788

Check warning on line 98 in iceberg/iceberg-handler/src/test/java/org/apache/iceberg/data/TestPartitionStatsHandler.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnBvjbieDuaT-Cl4Gd&open=AaCnBvjbieDuaT-Cl4Gd&pullRequest=6788

Check warning on line 127 in ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveLoptMultiJoin.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'int' is followed by whitespace.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnBYBqieDuaT-Cl3X-&open=AaCnBYBqieDuaT-Cl3X-&pullRequest=6788

Check warning on line 1076 in druid-handler/src/java/org/apache/hadoop/hive/druid/DruidStorageHandlerUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof ExpressionVirtualColumn expressionvirtualcolumn'

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnB3bIieDuaT-Cl4Lx&open=AaCnB3bIieDuaT-Cl4Lx&pullRequest=6788

Check warning on line 101 in druid-handler/src/test/org/apache/hadoop/hive/ql/io/TestDruidRecordWriter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "java.util.List.of()" instead.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnB3eQieDuaT-Cl4N3&open=AaCnB3eQieDuaT-Cl4N3&pullRequest=6788

Check warning on line 5162 in standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Method drop_partitions_req length is 197 lines (max allowed is 150).

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AaCnBoGnieDuaT-Cl30b&open=AaCnBoGnieDuaT-Cl30b&pullRequest=6788