Files
doris/regression-test/data/load/insert/test_map_dml.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

15 lines
410 B
Plaintext

-- This file is automatically generated. You should know what you did if you want to edit this
-- !select --
1 {" amory ":6, "happy":38}
6 {"amory":6, "is":38, "cl":0}
-- !select_count --
2
-- !select --
100 {1:"1", 2:"2", 3:"3"} {32767:"32767", 32768:"32768", 32769:"32769"} [65534, 65535, 65536] {"2022-07-13":1} {"2022-07-13 12:30:00":"2022-07-13 12:30:00"} {0.33:33, 0.67:67}
-- !select --
1 1 1 1 1 1