Fixed tests

This commit is contained in:
Maksim Kita 2021-09-04 14:29:40 +03:00
parent af7220b6aa
commit 69fa28f332
2 changed files with 8 additions and 11 deletions

View File

@ -4,9 +4,6 @@
#include <common/LocalDateTime.h>
#include <Common/ShellCommand.h>
#include <IO/WriteHelpers.h>
#include <IO/ReadHelpers.h>
#include <DataStreams/formatBlock.h>
#include <Interpreters/Context.h>

View File

@ -123,8 +123,8 @@
<source>
<executable>
<command>printf "1\tValue\n"</command>
<format>TabSeparated</format>
<format>JSONEachRow</format>
<command>cd /; clickhouse-local --input-format JSONEachRow --output-format JSONEachRow --structure 'id UInt64' --query "SELECT id, 'Value' AS value FROM table"</command>
<implicit_key>false</implicit_key>
</executable>
</source>
@ -156,8 +156,8 @@
<source>
<executable>
<command>echo "Value"</command>
<format>TabSeparated</format>
<format>JSONEachRow</format>
<command>cd /; clickhouse-local --input-format JSONEachRow --output-format JSONEachRow --structure 'id UInt64' --query "SELECT 'Value' AS value FROM table"</command>
<implicit_key>true</implicit_key>
</executable>
</source>
@ -197,8 +197,8 @@
<source>
<executable>
<command>printf "1\tFirstKey\tValue\n"</command>
<format>TabSeparated</format>
<format>JSONEachRow</format>
<command>cd /; clickhouse-local --input-format JSONEachRow --output-format JSONEachRow --structure 'id UInt64, id_key String' --query "SELECT id, id_key, 'Value' AS value FROM table"</command>
<implicit_key>false</implicit_key>
</executable>
</source>
@ -238,8 +238,8 @@
<source>
<executable>
<command>echo "Value"</command>
<format>TabSeparated</format>
<format>JSONEachRow</format>
<command>cd /; clickhouse-local --input-format JSONEachRow --output-format JSONEachRow --structure 'id UInt64, id_key String' --query "SELECT 'Value' AS value FROM table"</command>
<implicit_key>true</implicit_key>
</executable>
</source>