[#7647] Support window function EXCLUDE clause

This commit is contained in:
lukaseder 2018-07-06 15:12:51 +02:00
parent 31e8dae615
commit deac176fd2

View File

@ -402,8 +402,10 @@ window = identifier 'AS' '(' windowSpecification ')'
windowSpecification =
[ 'PARTITION BY' fields ]
[ 'ORDER BY' sortFields ]
[ ( 'ROWS' | 'RANGE' )
( 'BETWEEN' rangeBound 'AND' rangeBound | rangeBound) ]
[ ( 'ROWS' | 'RANGE' | 'GROUPS' )
( 'BETWEEN' rangeBound 'AND' rangeBound | rangeBound)
[ 'EXCLUDE' ( 'CURRENT ROW' | 'TIES' | 'GROUPS' | 'NO OTHERS' ) ]
]
;
orderBy =