lizu18xz commented on issue #2411:
URL: 
https://github.com/apache/incubator-seatunnel/issues/2411#issuecomment-1216616775

   > "source_table_name" : "table_26"
   
      "env" : {
           "job.name" : "clickhouse"
       },
       "source" : [
           {
               "url" : "jdbc:mysql://localhost:3306/test?",
               "driver" : "com.mysql.cj.jdbc.Driver",
               "username" : "root",
               "password" : "123456",
               "query" : "select id,name from test",
               "plugin_name" : "JdbcSource",
               "_node_type" : "source",
               "_node_id" : 26,
               "result_table_name" : "table_26"
           }
       ],
       "transform" : [],
       "sink" : [
           {
               "host" : "local:8123",
               "username" : "user",
               "password" : "user",
               "database" : "l_test",
               "table" : "test02",
               "bulk_size" : "15000",
               "plugin_name" : "Clickhouse",
               "_node_type" : "sink",
               "_node_id" : 27,
               "source_table_name" : "table_26"
           }
       ]
   }
   
   
   schema:
   CREATE TABLE lizu_test.test02
   (
       `id` String,
       `name` String
   )
   ENGINE = 
ReplicatedReplacingMergeTree('/clickhouse/{installation}/{cluster}/tables/{shard}/l_test/test02',
 '{replica}')
   PRIMARY KEY id
   ORDER BY id
   SETTINGS index_granularity = 8192 
   
   I looked at the code and didn't handle this.  just has field config:
   
   
![image](https://user-images.githubusercontent.com/20568293/184887345-c657a882-6fe5-4002-86f5-3722f87581f4.png)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to