This is an automated email from the ASF dual-hosted git repository.
panjuan 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 e0e005abd9c Remove duplicate code on DistSQLQueryExecuteEngine (#30106)
e0e005abd9c is described below
commit e0e005abd9c31f968d83bea97649857436c07b9b
Author: Liang Zhang <[email protected]>
AuthorDate: Tue Feb 13 15:02:32 2024 +0800
Remove duplicate code on DistSQLQueryExecuteEngine (#30106)
---
.../distsql/handler/engine/query/DistSQLQueryExecuteEngine.java | 1 -
1 file changed, 1 deletion(-)
diff --git
a/infra/distsql-handler/src/main/java/org/apache/shardingsphere/distsql/handler/engine/query/DistSQLQueryExecuteEngine.java
b/infra/distsql-handler/src/main/java/org/apache/shardingsphere/distsql/handler/engine/query/DistSQLQueryExecuteEngine.java
index 0cb8bf79861..0c7e923b710 100644
---
a/infra/distsql-handler/src/main/java/org/apache/shardingsphere/distsql/handler/engine/query/DistSQLQueryExecuteEngine.java
+++
b/infra/distsql-handler/src/main/java/org/apache/shardingsphere/distsql/handler/engine/query/DistSQLQueryExecuteEngine.java
@@ -66,7 +66,6 @@ public final class DistSQLQueryExecuteEngine {
@SuppressWarnings("unchecked")
public void executeQuery() throws SQLException {
DistSQLQueryExecutor<DistSQLStatement> executor =
TypedSPILoader.getService(DistSQLQueryExecutor.class, sqlStatement.getClass());
- columnNames = executor.getColumnNames(sqlStatement);
try {
new DistSQLExecutorAwareSetter(executor).set(contextManager, null
== databaseName ? null : contextManager.getDatabase(databaseName),
distsqlConnectionContext);
} catch (final UnsupportedSQLOperationException ignored) {