-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 support for ORDER BY
on unprojected columns
#1415
Conversation
It'll be better to also add a test in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I gave some of my suggestions. Thanks for your contribution, @viirya!
Thanks @xudong963 |
Thank you @viirya , very cool to see this in action. |
@houqp thanks for review. Fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
Ok(()) | ||
})?; | ||
|
||
if missing_cols.is_empty() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Thanks @viirya ! |
Nice 🎉 |
let mut ctx = ExecutionContext::new(); | ||
register_alltypes_parquet(&mut ctx).await; | ||
// execute the query | ||
let sql = "SELECT id FROM alltypes_plain ORDER BY int_col, double_col"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Thank you @houqp @xudong963 @alamb @Dandandan ! |
ORDER BY
on unprojected columns
Which issue does this PR close?
Closes #1372.
Rationale for this change
What changes are included in this PR?
Are there any user-facing changes?