You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@paimon.apache.org by lz...@apache.org on 2023/07/26 11:32:06 UTC

[incubator-paimon] branch master updated: [cdc] Can not parse correctly mysql-conf which contain `=` (#1663)

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

lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new 873b2d642 [cdc] Can not parse correctly mysql-conf which contain `=` (#1663)
873b2d642 is described below

commit 873b2d6427ccbd138e844f449d2d02b837ff834c
Author: JunZhang <zh...@126.com>
AuthorDate: Wed Jul 26 19:32:02 2023 +0800

    [cdc] Can not parse correctly mysql-conf which contain `=` (#1663)
---
 .../src/main/java/org/apache/paimon/flink/action/ActionFactory.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action/ActionFactory.java b/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action/ActionFactory.java
index 45c93321f..76089bd96 100644
--- a/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action/ActionFactory.java
+++ b/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action/ActionFactory.java
@@ -151,7 +151,7 @@ public interface ActionFactory extends Factory {
     }
 
     static void parseKeyValueString(Map<String, String> map, String kvString) {
-        String[] kv = kvString.split("=");
+        String[] kv = kvString.split("=", 2);
         if (kv.length != 2) {
             throw new IllegalArgumentException(
                     String.format(