JeremyXin commented on code in PR #9446:
URL: https://github.com/apache/seatunnel/pull/9446#discussion_r2184111654


##########
seatunnel-connectors-v2/connector-clickhouse/src/main/java/org/apache/seatunnel/connectors/seatunnel/clickhouse/config/ClickhouseSourceOptions.java:
##########
@@ -20,11 +20,43 @@
 import org.apache.seatunnel.api.configuration.Option;
 import org.apache.seatunnel.api.configuration.Options;
 
+import java.util.List;
+
 public class ClickhouseSourceOptions {
 
+    public static final int CLICKHOUSE_PART_SIZE_MIN = 1;
+    public static final int CLICKHOUSE_PART_SIZE_DEFAULT = Integer.MAX_VALUE;
+    public static final int CLICKHOUSE_BATCH_SIZE_DEFAULT = 1024;
+
+    public static final Option<Integer> CLICKHOUSE_PART_SIZE =
+            Options.key("part_size")

Review Comment:
   done. Whether other parameters need to be revised in this way?(e.g. 
batch_size, filter_query)



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