This is an automated email from the ASF dual-hosted git repository.

gaojun2048 pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new e5e0cba26 [Hotfix][connector-clickhouse] fix get clickhouse local 
table name with closing bracket from distributed table engineFull (#4710)
e5e0cba26 is described below

commit e5e0cba26dab782059ac6cb91f75e4262b5bc74a
Author: will27 <[email protected]>
AuthorDate: Tue May 16 10:38:22 2023 +0800

    [Hotfix][connector-clickhouse] fix get clickhouse local table name with 
closing bracket from distributed table engineFull (#4710)
---
 .../connectors/seatunnel/clickhouse/sink/client/ClickhouseProxy.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/seatunnel-connectors-v2/connector-clickhouse/src/main/java/org/apache/seatunnel/connectors/seatunnel/clickhouse/sink/client/ClickhouseProxy.java
 
b/seatunnel-connectors-v2/connector-clickhouse/src/main/java/org/apache/seatunnel/connectors/seatunnel/clickhouse/sink/client/ClickhouseProxy.java
index d6a3644eb..a9b5b3f1d 100644
--- 
a/seatunnel-connectors-v2/connector-clickhouse/src/main/java/org/apache/seatunnel/connectors/seatunnel/clickhouse/sink/client/ClickhouseProxy.java
+++ 
b/seatunnel-connectors-v2/connector-clickhouse/src/main/java/org/apache/seatunnel/connectors/seatunnel/clickhouse/sink/client/ClickhouseProxy.java
@@ -86,7 +86,7 @@ public class ClickhouseProxy {
 
                 String clusterName = infos.get(0);
                 String localDatabase = infos.get(1);
-                String localTable = infos.get(2).replace("\\)", "").trim();
+                String localTable = infos.get(2).replace(")", "").trim();
 
                 String localTableSQL =
                         String.format(

Reply via email to