wineternity commented on code in PR #4035:
URL: 
https://github.com/apache/incubator-seatunnel/pull/4035#discussion_r1094164753


##########
seatunnel-connectors-v2/connector-clickhouse/src/main/java/org/apache/seatunnel/connectors/seatunnel/clickhouse/sink/file/ClickhouseFileSink.java:
##########
@@ -116,7 +116,7 @@ public void prepare(Config config) throws 
PrepareFailException {
             config.getString(DATABASE.key()),
             config.getString(TABLE.key()),
             table.getEngine(),
-            false, // we don't need to set splitMode in clickhouse file mode.
+            true,

Review Comment:
   this can be a config too.  When split mode is true, it can only deal with 
distributed table,  when split mode is false, it can write  all data to the 
default shard configured by host. 



-- 
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