lizu18xz opened a new issue, #2411:
URL: https://github.com/apache/incubator-seatunnel/issues/2411

   ### 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
   
   ### fields [array]
   
   The data field that needs to be output to `ClickHouse` , if not configured, 
it will be automatically adapted according to the data `schema` .
   
   If not config fields, an error will occur: NullpointerException
   
   
   
   ### SeaTunnel Version
   
   2.1.3
   
   ### SeaTunnel Config
   
   ```conf
   "sink" : [
           {
               "host" : "local:8123",
               "username" : "fdpuser",
               "password" : "fdpuser",
               "database" : "test",
               "table" : "test02",
               "bulk_size" : "15000",
               "plugin_name" : "Clickhouse",
               "_node_type" : "sink",
               "_node_id" : 27,
               "source_table_name" : "table_26"
           }
   ```
   
   
   ### Running Command
   
   ```shell
   bin/start-seatunnel-flink.sh --config config/xxxxx.conf
   ```
   
   
   ### Error Exception
   
   ```log
   initFieldInjectFunctionMap  method :  NullpointerException
   ```
   
   
   ### Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### 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