EricJoy2048 commented on issue #5797:
URL: https://github.com/apache/seatunnel/issues/5797#issuecomment-1800950816
> > Some suggest
> > ```
> > env {
> > job.mode="BATCH"
> > execution.parallelism=5
> > },
> > source {
> > FtpFile {
> > host = "xxx.xxx.xxx.xxx"
> > port = 7111
> > user = "LIS"
> > username = "LIS"
> > password = "LIS341"
> > file_format_type = "csv"
> > path = "/LIS/seatunnel/color.csv"
> > schema = {
> > fields {
> > ID = string
> > NAME = string
> > }
> > }
> > sheet_name = "red_20231025135549"
> > }
> > },
> > transform {},
> > sink {
> > FtpFile {
> > host = "xxx.xxx.xxx.xxx"
> > port = 7111
> > username = "LIS"
> > user = "LIS"
> > password = "LIS341"
> > tmp_path= "LIS/seatunnel/tmp/"
> > path = "/LIS/seatunnel/color_copy.csv"
> > custom_filename = "seatunnel"
> > file_format_type = "csv"
> > sink_columns = ["ID","NAME"]
> > }
> > }
> > ```
>
> Is there a config that specifies the encoding type? When I was
synchronizing with ftp2ftp, the CSV contained Chinese characters, but after the
synchronization was completed, the data value changed, such as "姓名" changing to
"锟斤拷"
@TyrantLucifer PTAL
--
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]