Skip to content

Commit c2e1e08

Browse files
authored
Merge pull request #359 from vergenzt/fix-window-function-test
fix minor window function corpus test
2 parents 3c99273 + 259cd18 commit c2e1e08

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

test/corpus/window_functions.txt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ Window Functions two inline functions
201201
SELECT
202202
a,
203203
SUM(b) OVER (PARTITION BY c) AS w1,
204-
AVG(b) OVER (ORDER BY d) AS w2,
204+
AVG(b) OVER (ORDER BY d) AS w2
205205
FROM tab1;
206206

207207
--------------------------------------------------------------------------------
@@ -248,11 +248,12 @@ FROM tab1;
248248
(field
249249
name: (identifier))))))
250250
(keyword_as)
251-
alias: (identifier))
252-
(term
253-
value: (field
254-
name: (identifier))
255-
alias: (identifier))))))
251+
alias: (identifier))))
252+
(from
253+
(keyword_from)
254+
(relation
255+
(object_reference
256+
name: (identifier))))))
256257

257258
================================================================================
258259
Window Functions separate definition

0 commit comments

Comments
 (0)