mrhhsg opened a new pull request, #64088:
URL: https://github.com/apache/doris/pull/64088
### What problem does this PR solve?
Issue Number: None
Problem Summary: `json_set` may receive an invalid JSONB payload from a
nullable expression and crash when converting it to rapidjson. This patch
treats invalid JSONB payloads as JSON null in the json modify value path and
uses the correct row index for nullable constant value columns.
### Release note
None
### Check List (For Author)
- Test:
- Build: `doris-local-regression --network 10.26.20.3/24 --offset 42300
build`
- Regression test: `doris-local-regression --network 10.26.20.3/24
--offset 42300 run -d nereids_p0/sql_functions/json_function -s
test_query_json_set_jsonb_nullable_value`
- `git diff --check`
- Behavior changed: No
- Does this need documentation: No
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]