ClickHouse/tests/queries/0_stateless/00301_csv.reference

33 lines
742 B
Plaintext
Raw Normal View History

=== Test input_format_csv_empty_as_default
Hello, world 123 2016-01-01
Hello, "world" 456 2016-01-02
Hello "world" 789 2016-01-03
Hello\n world 100 2016-01-04
default 1 2019-06-19
default-eof 1 2019-06-19
=== Test datetime
2016-01-01 01:02:03 1
2016-01-02 01:02:03 2
2017-08-15 13:15:01 3
2022-05-27 00:18:38 +00:00
1970-01-02 05:46:39 4
=== Test nullable datetime
2019-07-18 15:54:58 +00:00
2016-01-01 01:02:03 NUL
2016-01-02 01:02:03 Nhello
\N \N
2023-07-06 07:32:46 +00:00
=== Test ignore extra columns
2023-06-14 16:44:31 +00:00
Hello 1 String1
Hello 2 String2
Hello 3 String3
Hello 4 String4
Hello 5 String5
Hello 6 String6
2023-07-06 07:32:46 +00:00
=== Test missing as default
2023-06-19 10:48:38 +00:00
0 0 33 \N 55 Default
0 0 33 \N 55 Default
2023-06-19 09:51:29 +00:00
Hello 0 0 33 \N 55 Default
Hello 0 0 33 \N 55 Default
Hello 1 3 2 \N 55 Default
Hello 1 4 2 3 4 String
2023-06-21 06:25:11 +00:00
Hello 1 4 2 3 4 String
2023-06-19 09:51:29 +00:00
Hello 1 5 2 3 4 String