mrhhsg opened a new pull request, #65380:
URL: https://github.com/apache/doris/pull/65380
### What problem does this PR solve?
Issue Number: None
Related PR: None
Problem Summary: `json_extract_no_quotes` had a separate FE Nereids function
definition, so it did not share the same FE binding and rewrite behavior as
`json_extract_string`. This changes FE builtin function registration so
`json_extract_no_quotes` resolves through the existing `JsonbExtractString`
implementation, making it an alias of `json_extract_string`. Regression
expectations are updated for the alias semantics.
### Release note
`json_extract_no_quotes` is treated as an alias of `json_extract_string` in
FE.
### Check List (For Author)
- Test:
- FE UT: `./run-fe-ut.sh --run
org.apache.doris.nereids.rules.analysis.BindFunctionTest`
- Build: `doris-local-regression --network 10.26.20.3/24 all -d
doc/sql-manual/sql-functions -s doc_json_functions_test -forceGenOut`
- Regression test: `doris-local-regression --network 10.26.20.3/24 run
-d doc/sql-manual/sql-functions -s doc_json_functions_test`
- Regression test: `doris-local-regression --network 10.26.20.3/24 run
-d query_p0/sql_functions/json_functions -s test_json_function`
- Code check: `git diff --check`
- Behavior changed: Yes. `json_extract_no_quotes` now follows
`json_extract_string` FE semantics.
- 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]