1
Fork 0

add window functions to the keyword parser hack so they work, bug #18

This commit is contained in:
Jake Wheat 2019-07-07 13:08:02 +01:00
parent e54cfee62b
commit 8e9b9edd0c
2 changed files with 13 additions and 1 deletions

View file

@ -791,6 +791,18 @@ all the scalar expressions which start with an identifier
> ,"var_pop" > ,"var_pop"
> ,"var_samp" > ,"var_samp"
> ,"width_bucket" > ,"width_bucket"
> -- window functions added here too
> ,"row_number"
> ,"rank"
> ,"dense_rank"
> ,"percent_rank"
> ,"cume_dist"
> ,"ntile"
> ,"lead"
> ,"lag"
> ,"first_value"
> ,"last_value"
> ,"nth_value"
> ] > ]

2
TODO
View file

@ -1,5 +1,4 @@
task right now: get a 0.5.0 release task right now: get a 0.5.0 release
test with different ghcs
fix these two bugs fix these two bugs
https://github.com/JakeWheat/simple-sql-parser/issues/7 https://github.com/JakeWheat/simple-sql-parser/issues/7
https://github.com/JakeWheat/simple-sql-parser/issues/8 https://github.com/JakeWheat/simple-sql-parser/issues/8
@ -10,6 +9,7 @@ is this one fixed now?
review alters, and think about adding rename versions review alters, and think about adding rename versions
https://github.com/JakeWheat/simple-sql-parser/issues/20 https://github.com/JakeWheat/simple-sql-parser/issues/20
update changelog update changelog
test with different ghcs
do release do release