-
Notifications
You must be signed in to change notification settings - Fork 61
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
Implement ORDER BY #47
Comments
Need the ORDER BY support to understand the behaviour with NULL and MISSING values. Right now we are getting this:
|
|
What is the reason this is labeled Large Task? Just wanted to help but it might be over my head. |
That is a t-shirt size estimate for the task. The reason for the L tag is that ORDER BY needs to implement the ordering semantics per the spec (section 12 https://partiql.org/assets/PartiQL-Specification.pdf). While the spec lays out the ordering between PartiQL values, testing is also going to be on the heavy side to ensure the implementation's correctness. Having said that, this is a task that will introduce you to a lot of the internals as well as a feature that we have seen interest from clients. Let us know if you would like to take a crack at it and we would do our best to assist in any way we can. |
Since #422 mentions ORDER BY is parsed but not evaluated, what would be steps to implement it? I'd be willing to contribute If I can. |
Hi @mustafaakin, Sorry for the delay. The primary steps for implementing
There are some additional caveats.
|
To followup on the caveats,
We are on track to finish the deprecation this week or early next week.
Discussed with the team and the core semantics mentioned in section 12.2 (The PartiQL order-by less-than function) and 12.5 (Use of
We'd appreciate any contribution you or others could make! |
Hi, we have tried to implement
Some specifications are not defined yet(12.3, 12.6) and still need to implement some other keywords like |
@onurkuruu Thanks for the contribution! We'll start taking a look. It may be easier for us to provide feedback through a PR. If you don't mind, could you create a PR with your initial implementation? |
hello @raganhan @abbashus @mustafaakin -- I'm a Product Manager with Amazon Quantum Ledger Database (QLDB) collaborating with the PartiQL team. I was wondering if you'd be interested in chatting with us about how you're using PartiQL and capabilities like ORDER BY and GROUP BY. I couldn't find an email for you in GitHub so I figured I'd tag here quickly. I also figured I'd check and see if the PR from @onurkuruu addressed your concerns and whether you had any additional questions. If you'd be open to connecting, you can find my email on my GitHub profile. Cheers |
Closed by #554. |
Just like the title says: add support for ORDER BY according to the specification.
The text was updated successfully, but these errors were encountered: