1. Add support for Doris to parse ES date field without time zone info. eg: `2023-04-17T23:01:18.151`, this time will be treated as UTC time, since ES assumes that the time zone for time fields without time zones is UTC. 2. Change local time zone convertion from system local time zone to session variable time zone.
28 lines
779 B
JSON
Executable File
28 lines
779 B
JSON
Executable File
{
|
|
"test1": "string1",
|
|
"test2": "text#1",
|
|
"test3": 3.14,
|
|
"test4": "2022-08-08",
|
|
"test5": 12345,
|
|
"test6": "2022-08-08T12:10:10.151Z",
|
|
"c_bool": [true, false, true, true],
|
|
"c_byte": [1, -2, -3, 4],
|
|
"c_short": [128, 129, -129, -130],
|
|
"c_integer": [32768, 32769, -32769, -32770],
|
|
"c_long": [-1, 0, 1, 2],
|
|
"c_unsigned_long": [0, 1, 2, 3],
|
|
"c_float": [1.0, 1.1, 1.2, 1.3],
|
|
"c_half_float": [1, 2, 3, 4],
|
|
"c_double": [1, 2, 3, 4],
|
|
"c_scaled_float": [1, 2, 3, 4],
|
|
"c_date": ["2020-01-01", "2020-01-02"],
|
|
"c_datetime": ["2020-01-01 12:00:00", "2020-01-02 13:01:01"],
|
|
"c_keyword": ["a", "b", "c"],
|
|
"c_text": ["d", "e", "f"],
|
|
"c_ip": ["192.168.0.1", "127.0.0.1"],
|
|
"c_person": [
|
|
{"name": "Andy", "age": 18},
|
|
{"name": "Tim", "age": 28}
|
|
]
|
|
}
|