This is an automated email from the ASF dual-hosted git repository.
terrymanu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new cdc9197efb8 Fix checkstyle for HiveConnectionPropertiesParser (#40164)
cdc9197efb8 is described below
commit cdc9197efb8445176418fc8768cdd28fbd78fc80
Author: Liang Zhang <[email protected]>
AuthorDate: Mon Oct 12 23:28:02 2026 +0800
Fix checkstyle for HiveConnectionPropertiesParser (#40164)
---
.../connector/hive/jdbcurl/HiveConnectionPropertiesParser.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git
a/database/connector/dialect/hive/src/main/java/org/apache/shardingsphere/database/connector/hive/jdbcurl/HiveConnectionPropertiesParser.java
b/database/connector/dialect/hive/src/main/java/org/apache/shardingsphere/database/connector/hive/jdbcurl/HiveConnectionPropertiesParser.java
index 9ecb55c3598..73be270bf75 100644
---
a/database/connector/dialect/hive/src/main/java/org/apache/shardingsphere/database/connector/hive/jdbcurl/HiveConnectionPropertiesParser.java
+++
b/database/connector/dialect/hive/src/main/java/org/apache/shardingsphere/database/connector/hive/jdbcurl/HiveConnectionPropertiesParser.java
@@ -38,6 +38,11 @@ public final class HiveConnectionPropertiesParser implements
ConnectionPropertie
return HiveJdbcUrlParser.parse(url);
}
+ @Override
+ public String getDatabaseType() {
+ return "Hive";
+ }
+
private static final class HiveJdbcUrlParser {
@SneakyThrows({ZooKeeperHiveClientException.class,
JdbcUriParseException.class, SQLException.class})
@@ -54,9 +59,4 @@ public final class HiveConnectionPropertiesParser implements
ConnectionPropertie
return new ConnectionProperties(params.getHost(),
params.getPort(), params.getDbName(), null, queryProps);
}
}
-
- @Override
- public String getDatabaseType() {
- return "Hive";
- }
}