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

   ### 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
   
   The doc(https://seatunnel.apache.org/docs/2.3.9/connector-v2/source/S3File/) 
says the  schema is optional, but actually is not:
   Caused by: 
org.apache.seatunnel.api.configuration.util.OptionValidationException: 
ErrorCode:[API-02], ErrorDescription:[Option item validate failed] - There are 
unconfigured options, the options('schema') are required because 
['file_format_type' == TEXT || 'file_format_type' == JSON || 'file_format_type' 
== EXCEL || 'file_format_type' == CSV || 'file_format_type' == XML] is true.
        at 
org.apache.seatunnel.api.configuration.util.ConfigValidator.validate(ConfigValidator.java:200)
   
   
   ### SeaTunnel Version
   
   2.3.9
   
   ### SeaTunnel Config
   
   ```conf
   none
   ```
   
   ### Running Command
   
   ```shell
   none
   ```
   
   ### Error Exception
   
   ```log
   Caused by: 
org.apache.seatunnel.api.configuration.util.OptionValidationException: 
ErrorCode:[API-02], ErrorDescription:[Option item validate failed] - There are 
unconfigured options, the options('schema') are required because 
['file_format_type' == TEXT || 'file_format_type' == JSON || 'file_format_type' 
== EXCEL || 'file_format_type' == CSV || 'file_format_type' == XML] is true.
        at 
org.apache.seatunnel.api.configuration.util.ConfigValidator.validate(ConfigValidator.java:200)
   ```
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### 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: commits-unsubscr...@seatunnel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to