Files
doris/regression-test/data/javaudf_p0/test_javaudf_array.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

134 lines
1.7 KiB
Plaintext

-- This file is automatically generated. You should know what you did if you want to edit this
-- !select_default --
1 2 2022-01-01 2022-01-01T11:11:11 a1b
2 4 2022-01-01 2022-01-01T11:11:11 a2b
3 6 2022-01-01 2022-01-01T11:11:11 a3b
4 8 2022-01-01 2022-01-01T11:11:11 a4b
5 10 2022-01-01 2022-01-01T11:11:11 a5b
6 12 2022-01-01 2022-01-01T11:11:11 a6b
7 14 2022-01-01 2022-01-01T11:11:11 a7b
8 16 2022-01-01 2022-01-01T11:11:11 a8b
9 18 2022-01-01 2022-01-01T11:11:11 a9b
10 20 2022-06-06 2022-01-01T12:12:12 a10b
-- !select_1 --
1
2
3
4
5
6
7
8
9
10
-- !select_2 --
\N
-- !select_3 --
[1] 2
[2] 4
[3] 6
[4] 8
[5] 10
[6] 12
[7] 14
[8] 16
[9] 18
[10] 20
-- !select_4 --
[2] 2
[4] 4
[6] 6
[8] 8
[10] 10
[12] 12
[14] 14
[16] 16
[18] 18
[20] 20
-- !select_5 --
\N
-- !select_6 --
["a1b"] 2
["a2b"] 4
["a3b"] 6
["a4b"] 8
["a5b"] 10
["a6b"] 12
["a7b"] 14
["a8b"] 16
["a9b"] 18
["a10b"] 20
-- !select_7 --
["a1b1"] 2
["a2b2"] 4
["a3b3"] 6
["a4b4"] 8
["a5b5"] 10
["a6b6"] 12
["a7b7"] 14
["a8b8"] 16
["a9b9"] 18
["a10b10"] 20
-- !select_8 --
\N
-- !select_9 --
a1b 2
a2b 4
a3b 6
a4b 8
a5b 10
a6b 12
a7b 14
a8b 16
a9b 18
a10b 20
-- !select_10 --
a1b1 2
a2b2 4
a3b3 6
a4b4 8
a5b5 10
a6b6 12
a7b7 14
a8b8 16
a9b9 18
a10b10 20
-- !select_11 --
\N
-- !select_12 --
["2022-01-01 11:11:11"] 2
["2022-01-01 11:11:11"] 4
["2022-01-01 11:11:11"] 6
["2022-01-01 11:11:11"] 8
["2022-01-01 11:11:11"] 10
["2022-01-01 11:11:11"] 12
["2022-01-01 11:11:11"] 14
["2022-01-01 11:11:11"] 16
["2022-01-01 11:11:11"] 18
["2022-01-01 12:12:12"] 20
-- !select_13 --
["2022-01-01"] 2
["2022-01-01"] 4
["2022-01-01"] 6
["2022-01-01"] 8
["2022-01-01"] 10
["2022-01-01"] 12
["2022-01-01"] 14
["2022-01-01"] 16
["2022-01-01"] 18
["2022-06-06"] 20