Fixed test [#CLICKHOUSE-2].

This commit is contained in:
Alexey Milovidov 2017-04-06 19:34:39 +03:00
parent 1bc311eefd
commit 4132d0ed32

View File

@ -3,9 +3,9 @@
clickhouse-client --query="DROP TABLE IF EXISTS test.tskv";
clickhouse-client --query="CREATE TABLE test.tskv (tskv_format String, timestamp DateTime, timezone String, text String, binary_data String) ENGINE = Memory";
echo -n 'tskv tskv_format=custom-service-log timestamp=2013-01-01 00:00:00 timezone=+0400 text=multiline\ntext binary_data=can contain \0 symbol
binary_data=abc text=Hello, world
binary_data=def text=
echo -n 'tskv tskv_format=custom-service-log timestamp=2013-01-01 00:00:00 timezone=+0400 text=multiline\ntext binary_data=can contain \0 symbol
binary_data=abc text=Hello, world
binary_data=def text=
tskv
' | clickhouse-client --query="INSERT INTO test.tskv FORMAT TSKV";