You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2026/10/06 13:27:47 UTC

(shardingsphere) branch master updated: Fix external SQL parser IT failure propagation (#40082)

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 891bc8bf6ab Fix external SQL parser IT failure propagation (#40082)
891bc8bf6ab is described below

commit 891bc8bf6abbf9aeff182e0421f2669edb1730a3
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Tue Oct 6 21:27:39 2026 +0800

    Fix external SQL parser IT failure propagation (#40082)
---
 .../shardingsphere/test/it/sql/parser/external/ExternalSQLParserIT.java | 2 --
 1 file changed, 2 deletions(-)

diff --git a/test/it/parser/src/main/java/org/apache/shardingsphere/test/it/sql/parser/external/ExternalSQLParserIT.java b/test/it/parser/src/main/java/org/apache/shardingsphere/test/it/sql/parser/external/ExternalSQLParserIT.java
index f3597d7c553..25e5dd7167e 100644
--- a/test/it/parser/src/main/java/org/apache/shardingsphere/test/it/sql/parser/external/ExternalSQLParserIT.java
+++ b/test/it/parser/src/main/java/org/apache/shardingsphere/test/it/sql/parser/external/ExternalSQLParserIT.java
@@ -18,7 +18,6 @@
 package org.apache.shardingsphere.test.it.sql.parser.external;
 
 import com.google.common.base.Preconditions;
-import org.apache.shardingsphere.infra.exception.external.ShardingSphereExternalException;
 import org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader;
 import org.apache.shardingsphere.sql.parser.engine.api.CacheOption;
 import org.apache.shardingsphere.sql.parser.engine.api.SQLParserEngine;
@@ -60,7 +59,6 @@ public abstract class ExternalSQLParserIT {
                 ParseASTNode parseASTNode = new SQLParserEngine(databaseType, new CacheOption(128, 1024L)).parse(sql, false);
                 new SQLStatementVisitorEngine(databaseType).visit(parseASTNode);
                 isSuccess = true;
-            } catch (final ShardingSphereExternalException | ClassCastException | IllegalArgumentException | IndexOutOfBoundsException ignore) {
             } finally {
                 resultReporter.printResult(sqlCaseId, databaseType, isSuccess, sql);
             }