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"