Files
doris/regression-test/data/query_p0/aggregate/map_agg.out
Tiewei Fang 3e10e5af39 [Fix](Serde) Fix content displayed by complex types in MySQL Client (#25946)
This pr makes three changes to the display of complex types:
1. NULL value in complex types refers to being displayed as `null`, not `NULL`
2. struct type is displayed as "column_name": column_value
3. Time types such as `datetime` and `date`, are displayed with double quotes in complex types. like
    `{1, "2023-10-26 12:12:12"}`

This pr also do a code refactor:
1. nesting_level is set to a member variable of the `DataTypeSerDe`, rather than a parameter in methods.

What's more, this pr fix a bug that fileSize is not correct, introduced by this pr: #25854
2023-11-01 23:48:55 +08:00

43 lines
642 B
Plaintext

-- This file is automatically generated. You should know what you did if you want to edit this
-- !sql1 --
1 V1_1 V1_2 V1_3
2 V2_1 V2_2 V2_3
3 V3_1 V3_2 V3_3
4 V4_1 V4_2 V4_3
5 V5_1 V5_2 V5_3
-- !sql2 --
1 V1_1 V1_2 \N
2 V2_1 \N V2_3
3 V3_1 V3_2 V3_3
4 V4_1 V4_2 \N
5 V5_1 V5_2 V5_3
-- !sql3 --
1 V1_1 V1_2 V1_3
2 V2_1 V2_2 V2_3
3 V3_1 V3_2 V3_3
4 V4_1 V4_2 V4_3
5 V5_1 V5_2 V5_3
-- !sql4 --
{"key":["ab", "efg", null]}
-- !sql5 --
1 1.2345 2.4567 5.9876
2 2.4567 3.3300 4.5500
3 188.9980 998.9960 1024.1024
-- !sql6 --
\N
\N
V2_3
V3_3
V5_3
-- !garbled_characters --
001 90.0 92.0 80.0 \N
002 88.0 90.0 75.5 \N
003 70.0 85.0 90.0 82.0