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

Add deparse support for named window functions #150

Conversation

akiellor
Copy link
Contributor

@akiellor akiellor commented Jul 9, 2019

Postgres window functions support a variant where the target list can reference a named window e.g.

SELECT rank() OVER team_window
FROM people
WINDOW team_window AS (
  PARTITION BY people.team_id
)

@lfittl lfittl merged commit be5b7cb into pganalyze:master Nov 11, 2019
@lfittl
Copy link
Member

lfittl commented Nov 11, 2019

Thanks for the contribution!

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

Successfully merging this pull request may close these issues.

2 participants