This is an automated email from the ASF dual-hosted git repository.
zhangliang 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 38f99bcda8f Refactor constructor of HiveShowConnectorsStatement to
empty buildAttributes (#38340)
38f99bcda8f is described below
commit 38f99bcda8f6d44c9943dbabc074926b387acaed
Author: Liang Zhang <[email protected]>
AuthorDate: Wed Mar 4 17:19:24 2026 +0800
Refactor constructor of HiveShowConnectorsStatement to empty
buildAttributes (#38340)
---
.../parser/statement/hive/dal/show/HiveShowConnectorsStatement.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/parser/sql/statement/dialect/hive/src/main/java/org/apache/shardingsphere/sql/parser/statement/hive/dal/show/HiveShowConnectorsStatement.java
b/parser/sql/statement/dialect/hive/src/main/java/org/apache/shardingsphere/sql/parser/statement/hive/dal/show/HiveShowConnectorsStatement.java
index 2ff445027ed..1ea5b984287 100644
---
a/parser/sql/statement/dialect/hive/src/main/java/org/apache/shardingsphere/sql/parser/statement/hive/dal/show/HiveShowConnectorsStatement.java
+++
b/parser/sql/statement/dialect/hive/src/main/java/org/apache/shardingsphere/sql/parser/statement/hive/dal/show/HiveShowConnectorsStatement.java
@@ -26,17 +26,17 @@ import
org.apache.shardingsphere.sql.parser.statement.core.statement.type.dal.DA
/**
* Show connectors statement for Hive.
*/
+@Getter
public final class HiveShowConnectorsStatement extends DALStatement {
- @Getter
- private SQLStatementAttributes attributes;
+ private final SQLStatementAttributes attributes;
public HiveShowConnectorsStatement(final DatabaseType databaseType) {
super(databaseType);
+ attributes = new SQLStatementAttributes(new
TablelessDataSourceBroadcastRouteSQLStatementAttribute());
}
@Override
public void buildAttributes() {
- attributes = new SQLStatementAttributes(new
TablelessDataSourceBroadcastRouteSQLStatementAttribute());
}
}