Added comment [#METR-20738].

This commit is contained in:
Alexey Milovidov 2016-04-09 00:27:54 +03:00
parent 436f994379
commit 603a856731

View File

@ -11,4 +11,9 @@ SELECT count() FROM test.pk_set WHERE host IN ('market', 'admin.market2', 'admin
SELECT count() FROM test.pk_set WHERE host IN ('admin.market2', 'admin.market3', 'admin.market4', 'abc') AND code = 100 AND n = 11;
SELECT count() FROM test.pk_set WHERE host IN ('admin.market2', 'admin.market3', 'admin.market4', 'abc', 'news') AND code = 100 AND n = 11;
-- that barely reproduces the problem
-- better way:
-- for i in {1..1000}; do echo "SELECT count() FROM test.pk_set WHERE host IN ('a'"$(seq 1 $i | sed -r "s/.+/,'\\0'/")") AND code = 100 AND n = 11;"; done > queries.tsv
-- clickhouse-benchmark < queries.tsv
DROP TABLE test.pk_set;