Uh oh!
There was an error while loading. Please reload this page.
branch-2.1: [fix](function) JSON_EXTRACT_STRING should return NULL instead of the string 'null' when encountering a NULL value #51516 - #51566
Conversation
… string 'null' when encountering a NULL value (#51516) ### What problem does this PR solve? Previously, when JSON_EXTRACT_STRING encountered a NULL input value or path, it returned the string "null" instead of a proper SQL NULL value. This behavior could lead to incorrect query results and confusion in downstream processing that expects NULL to be represented as an actual null value rather than a literal string. This commit adjusts the logic to ensure that JSON_EXTRACT_STRING returns NULL in such cases, aligning with SQL semantics and improving compatibility with systems that rely on strict null-handling behavior.
Thearas
commented
Jun 7, 2025
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Thearas
commented
Jun 7, 2025
run buildall |
hello-stephen
commented
Jun 7, 2025
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Jun 7, 2025
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
mrhhsg
commented
Jun 8, 2025
run buildall |
doris-robot
commented
Jun 8, 2025
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Jun 8, 2025
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
c468c18 to
0a2be34Comparemrhhsg
commented
Jun 8, 2025
run buildall |
doris-robot
commented
Jun 8, 2025
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Jun 8, 2025
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
Cherry-picked from #51516