File tree Expand file tree Collapse file tree
datafusion/sqllogictest/test_files Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -871,26 +871,4 @@ DROP TABLE test_limit_with_partitions;
871871
872872# Tear down src_table table:
873873statement ok
874- DROP TABLE src_table;
875-
876-
877-
878- # tests with target partition set to 1
879- statement ok
880- set datafusion.execution.target_partitions = '1';
881-
882- # minimize batch size to minimize test data
883- statement ok
884- set datafusion.execution.batch_size = '1';
885-
886- statement ok
887- CREATE TABLE filter_limit (i INT) as values (1), (2);
888-
889- query I
890- SELECT COUNT(*) FROM (SELECT i FROM filter_limit WHERE i <> 0 LIMIT 1);
891- ----
892- 1
893-
894- statement ok
895- DROP TABLE filter_limit;
896-
874+ DROP TABLE src_table;
Original file line number Diff line number Diff line change 1+
2+ # minimize batch size to 1 in order to trigger different code paths
3+ statement ok
4+ set datafusion.execution.batch_size = '1';
5+
6+ # ----
7+ # tests with target partition set to 1
8+ # ----
9+ statement ok
10+ set datafusion.execution.target_partitions = '1';
11+
12+
13+ statement ok
14+ CREATE TABLE filter_limit (i INT) as values (1), (2);
15+
16+ query I
17+ SELECT COUNT(*) FROM (SELECT i FROM filter_limit WHERE i <> 0 LIMIT 1);
18+ ----
19+ 1
20+
21+ statement ok
22+ DROP TABLE filter_limit;
You can’t perform that action at this time.
0 commit comments