Skip to content

Commit 0a66c66

Browse files
committed
chore: make the output consistency on other sqllogictests
Signed-off-by: Alan Tang <[email protected]>
1 parent dc21d53 commit 0a66c66

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

datafusion/sqllogictest/test_files/alias.slt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ statement count 0
5656
drop table t1;
5757

5858
statement count 0
59-
drop table t2;
59+
drop table t2;

datafusion/sqllogictest/test_files/join_disable_repartition_joins.slt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ logical_plan
5555
07)--------TableScan: annotated_data projection=[a, c]
5656
physical_plan
5757
01)SortPreservingMergeExec: [a@0 ASC NULLS LAST], fetch=5
58-
02)--CoalesceBatchesExec: target_batch_size=8192, fetch=5
58+
02)--CoalesceBatchesExec: target_batch_size=8192, limit=5
5959
03)----HashJoinExec: mode=CollectLeft, join_type=Inner, on=[(c@0, c@1)], projection=[a@1]
6060
04)------DataSourceExec: file_groups={1 group: [[WORKSPACE_ROOT/datafusion/core/tests/data/window_2.csv]]}, projection=[c], file_type=csv, has_header=true
6161
05)------RepartitionExec: partitioning=RoundRobinBatch(4), input_partitions=1
@@ -96,7 +96,7 @@ logical_plan
9696
physical_plan
9797
01)SortPreservingMergeExec: [a2@0 ASC NULLS LAST, b@1 ASC NULLS LAST], fetch=10
9898
02)--ProjectionExec: expr=[a@0 as a2, b@1 as b]
99-
03)----CoalesceBatchesExec: target_batch_size=8192, fetch=10
99+
03)----CoalesceBatchesExec: target_batch_size=8192, limit=10
100100
04)------HashJoinExec: mode=CollectLeft, join_type=RightSemi, on=[(d@1, d@3), (c@0, c@2)], projection=[a@0, b@1]
101101
05)--------DataSourceExec: file_groups={1 group: [[WORKSPACE_ROOT/datafusion/core/tests/data/window_2.csv]]}, projection=[c, d], file_type=csv, has_header=true
102102
06)--------CoalesceBatchesExec: target_batch_size=8192

datafusion/sqllogictest/test_files/joins.slt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4247,7 +4247,7 @@ logical_plan
42474247
03)----TableScan: t0 projection=[c1, c2]
42484248
04)----TableScan: t1 projection=[c1, c2, c3]
42494249
physical_plan
4250-
01)CoalesceBatchesExec: target_batch_size=3, fetch=2
4250+
01)CoalesceBatchesExec: target_batch_size=3, limit=2
42514251
02)--HashJoinExec: mode=CollectLeft, join_type=Full, on=[(c1@0, c1@0)]
42524252
03)----DataSourceExec: partitions=1, partition_sizes=[1]
42534253
04)----DataSourceExec: partitions=1, partition_sizes=[1]
@@ -4277,7 +4277,7 @@ logical_plan
42774277
03)----TableScan: t0 projection=[c1, c2]
42784278
04)----TableScan: t1 projection=[c1, c2, c3]
42794279
physical_plan
4280-
01)CoalesceBatchesExec: target_batch_size=3, fetch=2
4280+
01)CoalesceBatchesExec: target_batch_size=3, limit=2
42814281
02)--HashJoinExec: mode=CollectLeft, join_type=Full, on=[(c1@0, c1@0)], filter=c2@0 >= c2@1
42824282
03)----DataSourceExec: partitions=1, partition_sizes=[1]
42834283
04)----DataSourceExec: partitions=1, partition_sizes=[1]
@@ -4341,7 +4341,7 @@ logical_plan
43414341
04)------TableScan: t1 projection=[a], fetch=2
43424342
05)----TableScan: t2 projection=[b]
43434343
physical_plan
4344-
01)CoalesceBatchesExec: target_batch_size=3, fetch=2
4344+
01)CoalesceBatchesExec: target_batch_size=3, limit=2
43454345
02)--HashJoinExec: mode=CollectLeft, join_type=Left, on=[(a@0, b@0)]
43464346
03)----DataSourceExec: file_groups={1 group: [[WORKSPACE_ROOT/datafusion/sqllogictest/test_files/scratch/limit/t1.csv]]}, projection=[a], limit=2, file_type=csv, has_header=true
43474347
04)----DataSourceExec: file_groups={1 group: [[WORKSPACE_ROOT/datafusion/sqllogictest/test_files/scratch/limit/t2.csv]]}, projection=[b], file_type=csv, has_header=true
@@ -4375,7 +4375,7 @@ logical_plan
43754375
04)----Limit: skip=0, fetch=2
43764376
05)------TableScan: t2 projection=[b], fetch=2
43774377
physical_plan
4378-
01)CoalesceBatchesExec: target_batch_size=3, fetch=2
4378+
01)CoalesceBatchesExec: target_batch_size=3, limit=2
43794379
02)--HashJoinExec: mode=CollectLeft, join_type=Right, on=[(a@0, b@0)]
43804380
03)----DataSourceExec: file_groups={1 group: [[WORKSPACE_ROOT/datafusion/sqllogictest/test_files/scratch/limit/t1.csv]]}, projection=[a], file_type=csv, has_header=true
43814381
04)----DataSourceExec: file_groups={1 group: [[WORKSPACE_ROOT/datafusion/sqllogictest/test_files/scratch/limit/t2.csv]]}, projection=[b], limit=2, file_type=csv, has_header=true
@@ -4412,7 +4412,7 @@ logical_plan
44124412
03)----TableScan: t1 projection=[a]
44134413
04)----TableScan: t2 projection=[b]
44144414
physical_plan
4415-
01)CoalesceBatchesExec: target_batch_size=3, fetch=2
4415+
01)CoalesceBatchesExec: target_batch_size=3, limit=2
44164416
02)--HashJoinExec: mode=CollectLeft, join_type=Full, on=[(a@0, b@0)]
44174417
03)----DataSourceExec: file_groups={1 group: [[WORKSPACE_ROOT/datafusion/sqllogictest/test_files/scratch/limit/t1.csv]]}, projection=[a], file_type=csv, has_header=true
44184418
04)----DataSourceExec: file_groups={1 group: [[WORKSPACE_ROOT/datafusion/sqllogictest/test_files/scratch/limit/t2.csv]]}, projection=[b], file_type=csv, has_header=true

datafusion/sqllogictest/test_files/limit.slt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ physical_plan
377377
05)--------RepartitionExec: partitioning=RoundRobinBatch(4), input_partitions=1
378378
06)----------ProjectionExec: expr=[]
379379
07)------------GlobalLimitExec: skip=6, fetch=3
380-
08)--------------CoalesceBatchesExec: target_batch_size=8192, fetch=9
380+
08)--------------CoalesceBatchesExec: target_batch_size=8192, limit=9
381381
09)----------------FilterExec: a@0 > 3
382382
10)------------------DataSourceExec: partitions=1, partition_sizes=[1]
383383

datafusion/sqllogictest/test_files/repartition.slt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ logical_plan
122122
03)----TableScan: sink_table projection=[c1, c2, c3]
123123
physical_plan
124124
01)CoalescePartitionsExec: fetch=5
125-
02)--CoalesceBatchesExec: target_batch_size=8192, fetch=5
125+
02)--CoalesceBatchesExec: target_batch_size=8192, limit=5
126126
03)----FilterExec: c3@2 > 0
127127
04)------RepartitionExec: partitioning=RoundRobinBatch(3), input_partitions=1
128128
05)--------StreamingTableExec: partition_sizes=1, projection=[c1, c2, c3], infinite_source=true

datafusion/sqllogictest/test_files/window.slt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3120,7 +3120,7 @@ logical_plan
31203120
06)----------TableScan: annotated_data_infinite2 projection=[a0, a, b, c, d]
31213121
physical_plan
31223122
01)ProjectionExec: expr=[a0@0 as a0, a@1 as a, b@2 as b, c@3 as c, d@4 as d, row_number() ORDER BY [annotated_data_infinite2.a ASC NULLS LAST] RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW@5 as rn1]
3123-
02)--CoalesceBatchesExec: target_batch_size=4096, fetch=5
3123+
02)--CoalesceBatchesExec: target_batch_size=4096, limit=5
31243124
03)----FilterExec: row_number() ORDER BY [annotated_data_infinite2.a ASC NULLS LAST] RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW@5 < 50
31253125
04)------BoundedWindowAggExec: wdw=[row_number() ORDER BY [annotated_data_infinite2.a ASC NULLS LAST] RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW: Ok(Field { name: "row_number() ORDER BY [annotated_data_infinite2.a ASC NULLS LAST] RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW", data_type: UInt64, nullable: false, dict_id: 0, dict_is_ordered: false, metadata: {} }), frame: WindowFrame { units: Range, start_bound: Preceding(Int32(NULL)), end_bound: CurrentRow, is_causal: false }], mode=[Sorted]
31263126
05)--------StreamingTableExec: partition_sizes=1, projection=[a0, a, b, c, d], infinite_source=true, output_ordering=[a@1 ASC NULLS LAST, b@2 ASC NULLS LAST, c@3 ASC NULLS LAST]

0 commit comments

Comments
 (0)