File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5252,8 +5252,8 @@ impl<'a> Parser<'a> {
5252
5252
} else {
5253
5253
vec ! [ ]
5254
5254
} ;
5255
- // If the projection is done over a named window,
5256
- // that window name must be defined. That check is done here .
5255
+ // If the projection is done over a named window, that window
5256
+ // name must be defined. Otherwise, it gives an error .
5257
5257
for proj in & projection {
5258
5258
if let SelectItem :: ExprWithAlias {
5259
5259
expr : Expr :: Function ( f) ,
Original file line number Diff line number Diff line change @@ -3276,7 +3276,7 @@ fn parse_window_functions() {
3276
3276
}
3277
3277
3278
3278
#[ test]
3279
- fn parse_named_window ( ) {
3279
+ fn test_parse_named_window ( ) {
3280
3280
let sql = "SELECT \
3281
3281
MIN(c12) OVER window1 AS min1, \
3282
3282
MAX(c12) OVER window2 AS max1 \
You can’t perform that action at this time.
0 commit comments