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

   ### 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
   
   I am tying to sink FakeSource data to a file. It always saves it in the same 
format, regardless of fileFormat value:
   ```
   xZUuh696150845
   vsURy1080328609
   bmcPC267811950
   xkYLR1744336535
   ```
   
   If I modify formatting by introducing 
   ```
   field_delimiter = "|"
   row_delimiter = "\n"
   ```
   the plugin behaves accordingly:
   ```
   brLkB|758957279
   HGPBr|570409452
   AlWrl|407909156
   FdHHx|1323179300
   VFgHy|602615979
   ```
   ufortunately again regardless of the declared file format.
   
   
   ### SeaTunnel Version
   
   2.3.2
   
   ### SeaTunnel Config
   
   ```conf
   {
       "env" : {
           "execution.parallelism" : 2,
           "job.mode" : "BATCH",
           "checkpoint.interval" : 10000
       },
       "source" : [
           {
               "schema" : {
                   "fields" : {
                       "name" : "string",
                       "age" : "int"
                   }
               },
               "row.num" : 16,
               "parallelism" : 2,
               "result_table_name" : "fake",
               "plugin_name" : "FakeSource"
           }
       ],
       "sink" : [
           {
               "path" : "tjson",
               "plugin_name" : "localFile",
               "fileFormat" : "json"
           }
       ]
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./bin/seatunnel.sh --config ./config/test_to_file.config -m local
   ```
   
   
   ### Error Exception
   
   ```log
   none
   ```
   
   
   ### Flink or Spark Version
   
   none
   
   ### Java or Scala Version
   
   java 17.0.7 2023-04-18 LTS
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] 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