eldenmoon commented on code in PR #47890: URL: https://github.com/apache/doris/pull/47890#discussion_r1960880353
########## regression-test/data/variant_p0/insert_into_select.out: ########## @@ -131,3 +131,63 @@ 8 [8] 8 \N \N [{"x":8},{"y":"8"}] 8 [8] 8 \N \N [{"x":8},{"y":"8"}] +-- !sql -- +1 ["a", "b", "c"] {1:"a", 2:"b"} {"a":1, "b":"b", "c":"192.0.0.1", "d":1.000000000} {"a":1} [{"a":1, "b":"b", "d":"2021-01-01 00:00:00"}] {"a":{"a":1, "b":"b", "d":"2021-01-01 00:00:00"}} {"a":[1, 2], "b":{1:"a", 2:"b"}, "c":{"a":1, "b":"b", "c":"192.0.0.1", "d":1.000000000}} +2 ["a1", "b1", "c1"] {1:"a1", 2:"b1"} {"a":1, "b":"b1", "c":"192.168.1.1", "d":1.000000000} {"a":1} [{"a":1, "b":"b1", "d":"2021-01-01 00:00:00"}] {"a":{"a":1, "b":"b1", "d":"2021-01-01 00:00:00"}} {"a":[1, 2], "b":{1:"a1", 2:"b1"}, "c":{"a":1, "b":"b1", "c":"192.168.1.1", "d":1.000000000}} +3 ["a1", "b1", "c1", "d1", "e1"] {1:"a1", 2:"b1", 3:"c1", 4:"d1"} {"a":1, "b":"b1", "c":"192.168.1.1", "d":1.000000000} {"x":1,"y":"test1","z":[1,2,3]} [{"a":1, "b":"b1", "d":"2021-01-01 00:00:00"}] {"a":{"a":1, "b":"b1", "d":"2021-01-01 00:00:00"}} {"a":[1, 2], "b":{1:"a1", 2:"b1"}, "c":{"a":1, "b":"b1", "c":"192.168.1.1", "d":1.000000000}} +4 [] {} {"a":2, "b":"b2", "c":"192.168.1.2", "d":2.000000000} \N [] {} {"a":null, "b":null, "c":{"a":2, "b":"b2", "c":"192.168.1.2", "d":2.000000000}} +5 ["x1", "y1", "z1"] {10:"x1", 20:"y1", 30:"z1"} {"a":3, "b":"b3", "c":"192.168.1.3", "d":3.000000000} {"data":["alpha","beta"],"flag":true} [{"a":3, "b":"b3", "d":"2021-03-01 00:00:00"}] {"b":{"a":3, "b":"b3", "d":"2021-03-01 00:00:00"}} {"a":[3, 4, 5], "b":{5:"c3", 6:"d3"}, "c":{"a":3, "b":"b3", "c":"192.168.1.3", "d":3.000000000}} +6 ["m1", "n1"] {50:"m1", 60:"n1"} {"a":4, "b":"b4", "c":"192.168.1.4", "d":4.000000000} {"nested":{"key":"value"}} \N {"c":{"a":4, "b":"b4", "d":"2021-04-01 00:00:00"}} {"a":[4, 5, 6, 7], "b":{1:"m4", 2:"n4"}, "c":{"a":4, "b":"b4", "c":"192.168.1.4", "d":4.000000000}} +7 ["p1", "q1", "r1", "s1", "t1"] {100:"p1", 200:"q1", 300:"r1", 400:"s1", 500:"t1"} {"a":5, "b":"b5", "c":"192.168.1.5", "d":5.000000000} {"info":"random text","count":5} [{"a":5, "b":"b5", "d":"2021-05-01 00:00:00"}] {} {"a":[5], "b":{3:"r5"}, "c":{"a":5, "b":"b5", "c":"192.168.1.5", "d":5.000000000}} + +-- !sql -- +1 ["a","b","c"] +2 ["a1","b1","c1"] +3 ["a1","b1","c1","d1","e1"] +4 null +5 ["x1","y1","z1"] +6 ["m1","n1"] +7 ["p1","q1","r1","s1","t1"] +8 "{1:\\"a\\", 2:\\"b\\"}" +9 "{1:\\"a1\\", 2:\\"b1\\"}" +10 "{1:\\"a1\\", 2:\\"b1\\", 3:\\"c1\\", 4:\\"d1\\"}" +11 "" +12 "{10:\\"x1\\", 20:\\"y1\\", 30:\\"z1\\"}" +13 "{50:\\"m1\\", 60:\\"n1\\"}" +14 "{100:\\"p1\\", 200:\\"q1\\", 300:\\"r1\\", 400:\\"s1\\", 500:\\"t1\\"}" +15 {"a":1,"b":"b","c":"192.0.0.1","d":1.0} +16 {"a":1,"b":"b1","c":"192.168.1.1","d":1.0} +17 {"a":1,"b":"b1","c":"192.168.1.1","d":1.0} +18 {"a":2,"b":"b2","c":"192.168.1.2","d":2.0} +19 {"a":3,"b":"b3","c":"192.168.1.3","d":3.0} +20 {"a":4,"b":"b4","c":"192.168.1.4","d":4.0} +21 {"a":5,"b":"b5","c":"192.168.1.5","d":5.0} +22 {"a":1} +23 {"a":1} +24 {"x":1,"y":"test1","z":[1,2,3]} +25 \N +26 {"data":["alpha","beta"],"flag":1} +27 {"nested":{"key":"value"}} +28 {"count":5,"info":"random text"} +29 [{"a":1,"b":"b","d":"2021-01-01 00:00:00"}] +30 [{"a":1,"b":"b1","d":"2021-01-01 00:00:00"}] +31 [{"a":1,"b":"b1","d":"2021-01-01 00:00:00"}] +32 {} +33 [{"a":3,"b":"b3","d":"2021-03-01 00:00:00"}] +34 \N +35 [{"a":5,"b":"b5","d":"2021-05-01 00:00:00"}] +36 {"a":{"a":1,"b":"b","d":"2021-01-01 00:00:00"}} +37 {"a":{"a":1,"b":"b1","d":"2021-01-01 00:00:00"}} +38 {"a":{"a":1,"b":"b1","d":"2021-01-01 00:00:00"}} +39 {} +40 {"b":{"a":3,"b":"b3","d":"2021-03-01 00:00:00"}} +41 {"c":{"a":4,"b":"b4","d":"2021-04-01 00:00:00"}} +42 {} +43 "{\\"a\\": [1, 2], \\"b\\": {1:\\"a\\", 2:\\"b\\"}, \\"c\\": {\\"a\\": 1, \\"b\\": \\"b\\", \\"c\\": \\"192.0.0.1\\", \\"d\\": 1.000000000}}" Review Comment: invalid json -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org