From a0d7e97732db48c6fad21bf7eb00aad6bbc44629 Mon Sep 17 00:00:00 2001 From: Nikita Mikhaylov Date: Thu, 10 Jun 2021 15:25:38 +0000 Subject: [PATCH] better --- .../01903_csvwithnames_subset_of_columns.reference | 1 + .../0_stateless/01903_csvwithnames_subset_of_columns.sh | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/tests/queries/0_stateless/01903_csvwithnames_subset_of_columns.reference b/tests/queries/0_stateless/01903_csvwithnames_subset_of_columns.reference index 0d28df3186f..1e008a436cc 100644 --- a/tests/queries/0_stateless/01903_csvwithnames_subset_of_columns.reference +++ b/tests/queries/0_stateless/01903_csvwithnames_subset_of_columns.reference @@ -1,2 +1,3 @@ 1000000 2000000 +3000000 diff --git a/tests/queries/0_stateless/01903_csvwithnames_subset_of_columns.sh b/tests/queries/0_stateless/01903_csvwithnames_subset_of_columns.sh index 7ad7a4b67bd..17d2c4a47d5 100755 --- a/tests/queries/0_stateless/01903_csvwithnames_subset_of_columns.sh +++ b/tests/queries/0_stateless/01903_csvwithnames_subset_of_columns.sh @@ -16,4 +16,8 @@ $CLICKHOUSE_CLIENT -q "SELECT count() FROM test_01903" $CLICKHOUSE_CLIENT -q "SELECT count() FROM test_01903" +(echo col0; for _ in `seq 1 1000000`; do echo '2021-05-05'; done) | $CLICKHOUSE_CLIENT -q "INSERT INTO test_01903 (col0) FORMAT TSVWithNames" + +$CLICKHOUSE_CLIENT -q "SELECT count() FROM test_01903" + $CLICKHOUSE_CLIENT -q "DROP TABLE IF EXISTS test_01903"