Fix tests

This commit is contained in:
Alexey Milovidov 2021-07-18 18:18:55 +03:00
parent fb11e9de41
commit 009625b154
2 changed files with 4 additions and 4 deletions

View File

@ -7,6 +7,6 @@ ba1081a754a06ef6563840b2d8d4d327 -
JSONCompactEachRow, true
ba1081a754a06ef6563840b2d8d4d327 -
JSONCompactStringsEachRowWithNamesAndTypes, false
902e53f621d5336aa7f702a5d6b64b42 -
31ded3cd9971b124450fb5a44a8bce63 -
JSONCompactStringsEachRowWithNamesAndTypes, true
902e53f621d5336aa7f702a5d6b64b42 -
31ded3cd9971b124450fb5a44a8bce63 -

View File

@ -14,7 +14,7 @@ do
echo "$format, false";
$CLICKHOUSE_CLIENT --output_format_parallel_formatting=false -q \
"SELECT URLRegions as d, ClientEventTime as a, MobilePhoneModel as b, ParamPrice as e, ClientIP6 as c FROM test.hits LIMIT 50000 Format $format" | \
"SELECT URLRegions as d, toTimeZone(ClientEventTime, 'Europe/Moscow') as a, MobilePhoneModel as b, ParamPrice as e, ClientIP6 as c FROM test.hits LIMIT 50000 Format $format" | \
$CLICKHOUSE_CLIENT --input_format_skip_unknown_fields=1 --input_format_parallel_parsing=false -q "INSERT INTO parsing_with_names FORMAT $format"
$CLICKHOUSE_CLIENT -q "SELECT * FROM parsing_with_names;" | md5sum
@ -24,7 +24,7 @@ do
$CLICKHOUSE_CLIENT -q "CREATE TABLE parsing_with_names(c FixedString(16), a DateTime('Europe/Moscow'), b String) ENGINE=Memory()"
echo "$format, true";
$CLICKHOUSE_CLIENT --output_format_parallel_formatting=false -q \
"SELECT URLRegions as d, ClientEventTime as a, MobilePhoneModel as b, ParamPrice as e, ClientIP6 as c FROM test.hits LIMIT 50000 Format $format" | \
"SELECT URLRegions as d, toTimeZone(ClientEventTime, 'Europe/Moscow') as a, MobilePhoneModel as b, ParamPrice as e, ClientIP6 as c FROM test.hits LIMIT 50000 Format $format" | \
$CLICKHOUSE_CLIENT --input_format_skip_unknown_fields=1 --input_format_parallel_parsing=true -q "INSERT INTO parsing_with_names FORMAT $format"
$CLICKHOUSE_CLIENT -q "SELECT * FROM parsing_with_names;" | md5sum