shuaizai88 opened a new issue, #48302:
URL: https://github.com/apache/doris/issues/48302

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   doris-master 分支,最新代码打包测试
   
   ### What's Wrong?
   
   **问题1:**
   用2个组件,第一个表输入,select ID,NAME FROM USER,第二个doris stream 
loader,其中doris的user表的id和name为小写。配置好对应关系。其中生成的JSON文件字段名都是大写ID,NAME 但是 
解析的为id,name小写的。
   **问题2**
   还是2个组件,第一个表输入,select id,name,age from user 第二个doris stream 
loader,在字段配置里只配置2个字段,比如id和name 会报数组越界异常。
    java.lang.ArrayIndexOutOfBoundsException: Index 2 out of bounds for length 2
   at 
org.pentaho.di.trans.steps.dorisstreamloader.serializer.DorisRecordSerializer.buildJsonString(DorisRecordSerializer.java:91)
   
   ### What You Expected?
   
   **问题1**
   希望如果上个输入组件的字段是大写,但是表里面的字段是小写的话,可以通过配置字段对照关系自动适配。
   **问题2**
   希望上个组件获取3个字段,但是doris表里只有2个字段的话,正常插入不要数组越界
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _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: commits-unsubscr...@doris.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to