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

   ### 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
   
   Reason: actual column number is less than schema column number.actual 
number: 1, column separator: [\t], line delimiter: [
   ], schema number: 57;
   
   and when i set 
   doris.strip_outer_array="true"
    doris.format="json"
   in seatunnel conf  it is not work either
   
   
   ### SeaTunnel Version
   
   2.1.3
   
   ### SeaTunnel Config
   
   ```conf
   env {
     # You can set spark configuration here
     # see available properties defined by spark: 
https://spark.apache.org/docs/latest/configuration.html#available-properties
     spark.app.name = "SeaTunnel"
     spark.executor.instances = 2
     spark.executor.cores = 8
     spark.executor.memory = "4g"
   }
   
   source {
    jdbc {
       driver = "com.mysql.jdbc.Driver"
       url = "jdbc:mysql://127.0.0.1:3306/test"
       user = "test"
       password = "xxx"
       table="test",
       result_table_name="test"
   }
   transform {
   
   }
   
   sink {
       Doris {
       fenodes="127.0.0.1:8031"
       database="test"
       table="test"
       user="test"
       password="xxx"
       batch_size=1000
   
       doris.column_separator="\t"
       或者下面两个配置
       doris.strip_outer_array=true
       doris.format="json"
    }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./bin/start-seatunnel-spark.sh \
   --master local[4] \
   --deploy-mode client \
   --config ./config/mysql2dorisspark.conf
   ```
   
   
   ### Error Exception
   
   ```log
   Reason: actual column number is less than schema column number.actual 
number: 1, column separator: [\t], line delimiter: [
   ], schema number: 57; . src line 
https://miniprogtest.xxx.chinaunicom.cn/wechat-server/\x01\N\x01\N\x01\N\x01\N\x01\N\x01\N\x01\N\x01\N\x01\N\x01\N\x01false\x01\N\x01admin\x01import\x012022-06-08
   ```
   
   
   ### Flink or Spark Version
   
   spark 2.4
   
   ### Java or Scala Version
   
   java 1.8  scala 2.11.12
   
   ### 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