Added test [#METR-22799].

This commit is contained in:
Alexey Milovidov 2016-12-24 00:35:22 +03:00
parent 47756eda45
commit 2552e7de4b
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,15 @@
1
2
3
1
2
3
1
2
3
1
2
3
1
2
3

View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -e
echo -ne "1\n2\n3\n" | clickhouse-client --query="SELECT * FROM _data" --external --file=- --types=Int8;
echo -ne "1\n2\n3\n" | clickhouse-client --query="SELECT * FROM _data" --external --file - --types Int8;
echo -ne "1\n2\n3\n" | clickhouse-client --query="SELECT * FROM _data" --external --file=- --types Int8;
echo -ne "1\n2\n3\n" | clickhouse-client --query="SELECT * FROM _data" --external --file - --types=Int8;
echo -ne "1\n2\n3\n" | clickhouse-client --query "SELECT * FROM _data" --external --file=- --types=Int8;