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

sql: add support for ORDER BY #2096

Closed
petermattis opened this issue Aug 13, 2015 · 0 comments
Closed

sql: add support for ORDER BY #2096

petermattis opened this issue Aug 13, 2015 · 0 comments
Milestone

Comments

@petermattis
Copy link
Collaborator

The initial implementation should just be a new type of planNode which buffers the results and sorts them on the desired columns. Follow-on optimization would be to incorporate ORDER BY requirements into index selection to eliminate the explicit sort when possible.

@petermattis petermattis added this to the v0.1 (Beta) milestone Aug 14, 2015
@tbg tbg added the SQL label Aug 15, 2015
@jess-edwards jess-edwards mentioned this issue Aug 17, 2015
78 tasks
petermattis added a commit that referenced this issue Aug 19, 2015
petermattis added a commit that referenced this issue Aug 19, 2015
Sorting is currently performed in memory. Ordering is not taken into
consideration during index selection, but sorting is not performed if
the output is already in the correct order.

Fixes #2096.
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