ddww opened a new issue, #5108:
URL: https://github.com/apache/seatunnel/issues/5108

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   When I use the connector-file-ftp partition_by parameter error。
   
   ### SeaTunnel Version
   
   2.3.1
   
   ### SeaTunnel Config
   
   ```conf
   env {
     job.mode = "BATCH"
     checkpoint.interval = 10000
   }
   source {
     LocalFile {
       path = "xxxx"
       file_format_type = "text"
       delimiter = "\\|"
       result_table_name = "table_name"
       parallelism = 1
       schema = {
         fields {
           a1 = string
           b2 = string
         }
       }
     }
   }
   transform {
     Sql {
       source_table_name = "table_name"
       result_table_name = "table_name_1"
       query = "select a1,b2 from table_name where a1 !=null and a1 !=''"
     }
   }
   
   sink {
     FtpFile {
       host = "192.168.20.102"
       port = 21
       user = "xxxx"
       password = "xxxxx"
       path = "test/"
       custom_filename = "true"
       file_name_expression = "${now}/${uuid}"
       is_enable_transaction = false
       filename_time_format = "yyyyMMddHH"
       field_delimiter = ","
       partition_by = ["b2"]
       partition_dir_expression = "${k0}=${v0}"
     }
   
   }
   ```
   
   
   ### Running Command
   
   ```shell
   cd "apache-seatunnel-incubating-${version}"
   ./bin/seatunnel.sh --config ./config/test.config -e local
   ```
   
   
   ### Error Exception
   
   ```log
   Caused by: java.lang.UnsupportedOperationException
        at java.util.AbstractList.remove(AbstractList.java:161)
        at java.util.AbstractList$Itr.remove(AbstractList.java:374)
        at java.util.AbstractCollection.removeAll(AbstractCollection.java:376)
   ```
   
   
   ### Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   java 1.8.0
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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