diff --git a/tests/queries/0_stateless/03231_hive_partitioning_filtering.sh b/tests/queries/0_stateless/03231_hive_partitioning_filtering.sh index b6a62d3bc33..d24c4e94c08 100755 --- a/tests/queries/0_stateless/03231_hive_partitioning_filtering.sh +++ b/tests/queries/0_stateless/03231_hive_partitioning_filtering.sh @@ -10,7 +10,7 @@ mkdir -p $DATA_DIR cp -r $CURDIR/data_hive/ $DATA_DIR $CLICKHOUSE_CLIENT --query_id="test_03231_1" --query " - SELECT _path FROM file('$DATA_DIR/data_hive/partitioning/column0=*/sample.parquet') WHERE column0 = 'Elizabeth' SETTINGS use_hive_partitioning=1; + SELECT _path FROM file('$DATA_DIR/data_hive/partitioning/column0=*/sample.parquet') WHERE column0 = 'Elizabeth' LIMIT 1 SETTINGS use_hive_partitioning=1; SYSTEM FLUSH LOGS; " @@ -19,7 +19,7 @@ $CLICKHOUSE_CLIENT --query " " $CLICKHOUSE_CLIENT --query_id="test_03231_2" --query " - SELECT _path FROM file('$DATA_DIR/data_hive/partitioning/identifier=*/email.csv') WHERE identifier = 2070 SETTINGS use_hive_partitioning=1; + SELECT _path FROM file('$DATA_DIR/data_hive/partitioning/identifier=*/email.csv') WHERE identifier = 2070 LIMIT 1 SETTINGS use_hive_partitioning=1; SYSTEM FLUSH LOGS; " @@ -28,7 +28,7 @@ $CLICKHOUSE_CLIENT --query " " $CLICKHOUSE_CLIENT --query_id="test_03231_3" --query " - SELECT _path FROM file('$DATA_DIR/data_hive/partitioning/array=*/sample.parquet') WHERE array = [1,2,3] SETTINGS use_hive_partitioning=1; + SELECT _path FROM file('$DATA_DIR/data_hive/partitioning/array=*/sample.parquet') WHERE array = [1,2,3] LIMIT 1 SETTINGS use_hive_partitioning=1; SYSTEM FLUSH LOGS; "