Windowing / Partition By #9828
haydenflinner
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
we used to support it,it was delete when we introduce the new planner,adding it back was blocked by the new expression. it is now in our roadmap 2023,and I just take the issue #6342 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Windowing is a pretty common trick for a few things in SQL, I use it most often just to get the most recent sample for a particular key, though with CASE it can be extended to basically arbitrary orderings. I get a lot of syntax errors thrown when I try to use this, and I don't see it in the docs, so I'm guessing it's not implemented. This is probably a more advanced feature to come down the line, but it can probably be replicated in simple cases with 2 roundtrip queries on the client side, not too bad. Just filing it for the roadmap / search to bring up.
In mysql format, from a tutorial, the err:
Postgres fmt for those more familiar:
Beta Was this translation helpful? Give feedback.
All reactions