carlvinhust2012 opened a new pull request, #16438: URL: https://github.com/apache/doris/pull/16438
# Proposed changes 1. this pr is used to support to insert null element. 2. before the change, we can't insert null element when we use sql to insert struct data. 3. after the change, we can support to insert null element. MySQL [example_db]> insert into test_struct_example011 values(12, {"hello", 120, 130, null, null, "world"}); Query OK, 1 row affected (0.288 sec) {'label':'insert_c8208579bebf41cc_9bea65aea93ad0c7', 'status':'VISIBLE', 'txnId':'107104'} MySQL [example_db]> select * from test_struct_example01; +------+-------------------------------------------------------------------+ | id | s1 | +------+-------------------------------------------------------------------+ | 12 | {'hello', 120, 130, NULL, NULL, 'world'} | +------+-------------------------------------------------------------------+ 4 rows in set (1.100 sec) Issue Number: close #xxx ## Problem summary Describe your changes. ## Checklist(Required) 1. Does it affect the original behavior: - [ ] Yes - [ ] No - [ ] I don't know 5. Has unit tests been added: - [ ] Yes - [ ] No - [ ] No Need 6. Has document been added or modified: - [ ] Yes - [ ] No - [ ] No Need 7. Does it need to update dependencies: - [ ] Yes - [ ] No 8. Are there any changes that cannot be rolled back: - [ ] Yes (If Yes, please explain WHY) - [ ] No ## Further comments If this is a relatively large or complex change, kick off the discussion at [d...@doris.apache.org](mailto:d...@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc... -- 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 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