clickhouse-test: switched to clickhouse-client; added a couple of multiquery tests. [#METR-10639]

This commit is contained in:
Michael Kolupaev 2014-03-28 19:58:59 +04:00
parent d42352149d
commit 6f61446152
3 changed files with 13 additions and 1 deletions

View File

@ -5,7 +5,7 @@
# Результаты сравниваются с эталонами.
QUERIES_DIR="./queries"
CLIENT_PROGRAM="curl -sS http://localhost:8123/ --data-binary @-"
CLIENT_PROGRAM="clickhouse-client -n"
COLOR_RESET="\033[0m"

View File

@ -0,0 +1,10 @@
0
1
2
3
4
5
6
7
8
9

View File

@ -0,0 +1,2 @@
SET max_rows_to_sort = 100;
SELECT DISTINCT x FROM (SELECT number % 10 AS x FROM system.numbers LIMIT 100000) ORDER BY x;