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
11 lines
253 B
Plaintext
11 lines
253 B
Plaintext
-- This file is automatically generated. You should know what you did if you want to edit this
|
|
-- !select --
|
|
4 ["12345", "123"] ["4"] \N
|
|
5 \N [null, "4"] \N
|
|
6 \N ["4"] [["123"], ["222"]]
|
|
7 \N ["4"] [["12345", null], ["222"]]
|
|
|
|
-- !select_count --
|
|
1 4 2
|
|
|