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 627b28e7196 Remove useless code (#27573)
627b28e7196 is described below

commit 627b28e7196f186b3f87ddd33a22e7afddf40c5d
Author: Liang Zhang <[email protected]>
AuthorDate: Sun Jul 30 22:08:41 2023 +0800

    Remove useless code (#27573)
---
 .../exception/OptimizationSQLRexNodeException.java | 33 ----------------------
 1 file changed, 33 deletions(-)

diff --git 
a/kernel/sql-federation/core/src/main/java/org/apache/shardingsphere/sqlfederation/exception/OptimizationSQLRexNodeException.java
 
b/kernel/sql-federation/core/src/main/java/org/apache/shardingsphere/sqlfederation/exception/OptimizationSQLRexNodeException.java
deleted file mode 100644
index bcb520907fe..00000000000
--- 
a/kernel/sql-federation/core/src/main/java/org/apache/shardingsphere/sqlfederation/exception/OptimizationSQLRexNodeException.java
+++ /dev/null
@@ -1,33 +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.sqlfederation.exception;
-
-import 
org.apache.shardingsphere.infra.exception.core.external.sql.type.kernel.category.MetaDataSQLException;
-import 
org.apache.shardingsphere.infra.exception.core.external.sql.sqlstate.XOpenSQLState;
-
-/**
- * Optimization SQL rex node exception.
- */
-public final class OptimizationSQLRexNodeException extends 
MetaDataSQLException {
-    
-    private static final long serialVersionUID = -5486229929620713963L;
-    
-    public OptimizationSQLRexNodeException(final String reason) {
-        super(XOpenSQLState.SYNTAX_ERROR, 4, "Unsupported SQL condition 
`%s`.", reason);
-    }
-}

Reply via email to