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 c69a24eccb8 Remove UnknownSQLStatementContext (#35716)
c69a24eccb8 is described below

commit c69a24eccb82657c610e6f62be242b142e9d7473
Author: Liang Zhang <[email protected]>
AuthorDate: Sun Jun 15 21:18:43 2025 +0800

    Remove UnknownSQLStatementContext (#35716)
---
 .../statement/UnknownSQLStatementContext.java      | 39 ----------------------
 1 file changed, 39 deletions(-)

diff --git 
a/infra/binder/core/src/main/java/org/apache/shardingsphere/infra/binder/context/statement/UnknownSQLStatementContext.java
 
b/infra/binder/core/src/main/java/org/apache/shardingsphere/infra/binder/context/statement/UnknownSQLStatementContext.java
deleted file mode 100644
index 3317e166528..00000000000
--- 
a/infra/binder/core/src/main/java/org/apache/shardingsphere/infra/binder/context/statement/UnknownSQLStatementContext.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.infra.binder.context.statement;
-
-import 
org.apache.shardingsphere.infra.binder.context.segment.table.TablesContext;
-import org.apache.shardingsphere.infra.database.core.type.DatabaseType;
-import 
org.apache.shardingsphere.sql.parser.statement.core.statement.SQLStatement;
-
-import java.util.Collections;
-
-/**
- * Unknown SQL statement context.
- */
-public final class UnknownSQLStatementContext extends 
CommonSQLStatementContext {
-    
-    public UnknownSQLStatementContext(final DatabaseType databaseType, final 
SQLStatement sqlStatement) {
-        super(databaseType, sqlStatement);
-    }
-    
-    @Override
-    public TablesContext getTablesContext() {
-        return new TablesContext(Collections.emptyList());
-    }
-}

Reply via email to