Files
doris/regression-test/data/jsonb_p0/test_jsonb_cast.out
amory 9b07cd2069 [pick](json-serde)pick jsonb string deserialize with spec char (#38711)
## Proposed changes
backport: https://github.com/apache/doris/pull/37176
Issue Number: close #xxx

<!--Describe your changes.-->
2024-08-02 13:37:41 +08:00

28 lines
1.0 KiB
Plaintext

-- This file is automatically generated. You should know what you did if you want to edit this
-- !select_1 --
1 \N
2 ["{'x' : '{"y" : 1}', 't' : '{"y" : 2}'}", "{"x" : 1}"]
3 ["foo'bar', 'foo"bar', 'foo\\'bar', 'foo''bar"]
4 ["/some/cool/url", "/some/cool/url", "a\\_\\c\\l\\i\\c\\k\\h\\o\\u\\s\\e"]
-- !select_2 --
1 \N
2 ["{'x' : '{"y" : 1}', 't' : '{"y" : 2}'}", "{"x" : 1}"]
3 ["foo'bar', 'foo"bar', 'foo\\'bar', 'foo''bar"]
4 ["/some/cool/url", "/some/cool/url", "a\\_\\c\\l\\i\\c\\k\\h\\o\\u\\s\\e"]
27 ["{"k1":"v1", "k2": 200}"]
28 ["{"a.b.c":{"k1.a1":"v31", "k2": 300},"a":"niu"}"]
29 [" \n\r", " \n\r"]
30 ["f\r\n", "f\r\n""]
-- !select_json --
1 \N
2 ["{'x' : '{\\"y\\" : 1}', 't' : '{\\"y\\" : 2}'}","{\\"x\\" : 1}"]
3 ["foo'bar', 'foo\\"bar', 'foo\\\\'bar', 'foo''bar"]
4 ["/some/cool/url","/some/cool/url","a\\\\_\\\\c\\\\l\\\\i\\\\c\\\\k\\\\h\\\\o\\\\u\\\\s\\\\e"]
27 ["{\\"k1\\":\\"v1\\", \\"k2\\": 200}"]
28 ["{\\"a.b.c\\":{\\"k1.a1\\":\\"v31\\", \\"k2\\": 300},\\"a\\":\\"niu\\"}"]
29 ["\\f\\n\\r","\\f\\n\\r"]
30 ["f\\b\\r\\n","f\\b\\r\\n\\""]