archibald-nice opened a new issue, #4553:
URL: https://github.com/apache/incubator-seatunnel/issues/4553

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   Local Job always produced txt file no matter what kind 'file_format' is set.
   
   ### SeaTunnel Version
   
   2.3.1-release
   
   ### SeaTunnel Config
   
   ```conf
   env {
       execution.parallelism = 1
       job.mode = "BATCH"
   }
   
   source {
       Jdbc {
           url = 
"jdbc:oracle:thin:@xx.xx.xx.xx:1521:wft?serverTimezone=Asia/Shanghai"
           driver = "oracle.jdbc.driver.OracleDriver"
           connection_check_timeout_sec = 100
           user = "test"
           password = "test"
           query = "SELECT * FROM TEST"
       }
   }
   
   
   sink {
       LocalFile {
           path = "/tmp/test_data/"
           custom_filename = true
           file_name_expression = "${transactionId}_${now}"
           filename_time_format = "yyyy-MM-dd"
           file_format = parquet\orc\json\csv
       }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./bin/seatunnel.sh --config ./config/batch-demo.conf -e local
   ```
   
   
   ### Error Exception
   
   ```log
   No Error logging. Just unable to get expected file type.
   ```
   
   
   ### Flink or Spark Version
   
   No.
   
   ### Java or Scala Version
   
   jdk-1.8
   
   ### 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