Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support the RANGE window specification #1349

Closed
cpcloud opened this issue Feb 9, 2018 · 2 comments
Closed

Support the RANGE window specification #1349

cpcloud opened this issue Feb 9, 2018 · 2 comments
Milestone

Comments

@cpcloud
Copy link
Member

cpcloud commented Feb 9, 2018

BigQuery and PostgreSQL (probably others as well) support the RANGE specification when constructing window functions.

The difference between ROWS and RANGE is that ROWS references other rows based on row number, whereas RANGE references other rows based on the current row's membership in an interval defined by the start_of_interval PRECEDING AND end_of_interval FOLLOWING.

@missing-semicolon
Copy link
Contributor

Mind if I take a stab at this?

@cpcloud
Copy link
Member Author

cpcloud commented Jun 7, 2018

For sure

@cpcloud cpcloud added this to the 0.14 milestone Jun 7, 2018
@cpcloud cpcloud assigned cpcloud and unassigned cpcloud Jun 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants