hailin0 commented on code in PR #10239:
URL: https://github.com/apache/seatunnel/pull/10239#discussion_r2670846350


##########
seatunnel-connectors-v2/connector-file/connector-file-base/src/main/java/org/apache/seatunnel/connectors/seatunnel/file/config/FileFormat.java:
##########
@@ -207,4 +207,24 @@ public ReadStrategy getReadStrategy() {
     public WriteStrategy getWriteStrategy(FileSinkConfig fileSinkConfig) {
         return null;
     }
+
+    public boolean supportFileSplit() {
+        switch (this) {
+            case CSV:
+            case TEXT:
+            case JSON:
+            case PARQUET:
+                return true;
+            case XML:
+            case MARKDOWN:
+            case ORC:
+            case EXCEL:
+            case BINARY:
+            case CANAL_JSON:
+            case DEBEZIUM_JSON:
+            case MAXWELL_JSON:
+            default:
+                return false;

Review Comment:
   ```suggestion
               default:
                   log.info(...)
                   return false;
   ```



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