[fix](Nereids) function implict cast for json is not work well#24852
[fix](Nereids) function implict cast for json is not work well#24852morrySnow merged 1 commit intoapache:masterfrom
Conversation
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
2f6c55e to
032f815
Compare
|
run buildall |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
|
run buildall |
for sql like:
SELECT JSONB_EXTRACT('{"k1":"v31","k2":300}','$.k1');
the result should be
+------------------------------------------------+
| jsonb_extract('{"k1":"v31","k2":300}', '$.k1') |
+------------------------------------------------+
| "v31" |
+------------------------------------------------+
but curent result is
+------------------------------------------------+
| jsonb_extract('{"k1":"v31","k2":300}', '$.k1') |
+------------------------------------------------+
| <null> |
+------------------------------------------------+
032f815 to
7bb3db4
Compare
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
…e#24852) for sql like: SELECT JSONB_EXTRACT('{"k1":"v31","k2":300}','$.k1'); the result should be +------------------------------------------------+ | jsonb_extract('{"k1":"v31","k2":300}', '$.k1') | +------------------------------------------------+ | "v31" | +------------------------------------------------+ but curent result is +------------------------------------------------+ | jsonb_extract('{"k1":"v31","k2":300}', '$.k1') | +------------------------------------------------+ | <null> | +------------------------------------------------+
for sql like:
SELECT JSONB_EXTRACT('{"k1":"v31","k2":300}','$.k1');
the result should be
+------------------------------------------------+
| jsonb_extract('{"k1":"v31","k2":300}', '$.k1') |
+------------------------------------------------+
| "v31" |
+------------------------------------------------+
but curent result is
+------------------------------------------------+
| jsonb_extract('{"k1":"v31","k2":300}', '$.k1') |
+------------------------------------------------+
| |
+------------------------------------------------+
Proposed changes
Issue Number: close #xxx
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...