Skip to content

Commit ffa9124

Browse files
committed
update slt
1 parent 1001bad commit ffa9124

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

datafusion/sqllogictest/test_files/window.slt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5536,3 +5536,18 @@ physical_plan
55365536
01)ProjectionExec: expr=[max(aggregate_test_100_ordered.c5) ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING@1 as max_c5]
55375537
02)--WindowAggExec: wdw=[max(aggregate_test_100_ordered.c5) ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING: Ok(Field { name: "max(aggregate_test_100_ordered.c5) ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING", data_type: Int32, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }), frame: WindowFrame { units: Rows, start_bound: Preceding(UInt64(NULL)), end_bound: Following(UInt64(NULL)), is_causal: false }]
55385538
03)----DataSourceExec: file_groups={1 group: [[WORKSPACE_ROOT/testing/data/csv/aggregate_test_100.csv]]}, projection=[c5], file_type=csv, has_header=true
5539+
5540+
query II
5541+
SELECT
5542+
t1.v1,
5543+
SUM(t1.v1) OVER w + 1
5544+
FROM
5545+
generate_series(1, 5) AS t1(v1)
5546+
WINDOW
5547+
w AS (ORDER BY t1.v1);
5548+
----
5549+
1 2
5550+
2 4
5551+
3 7
5552+
4 11
5553+
5 16

0 commit comments

Comments
 (0)