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 support for SortPreservingMergeExec; fix LIMIT bug #304

Merged
merged 2 commits into from
Oct 1, 2022

Conversation

andygrove
Copy link
Member

@andygrove andygrove commented Oct 1, 2022

Which issue does this PR close?

Closes #300

Rationale for this change

Queries with LIMIT may now include SortPreservingMergeExec and we did not support that in ballista.proto

What changes are included in this PR?

  • Add serde code for SortPreservingMergeExec
  • Improve error when serde code finds an unsupported exec
  • Fixed a bug with encoding GlobalLimitExec

Are there any user-facing changes?

@andygrove andygrove changed the title Add support for SortPreservingMergeExec Add support for SortPreservingMergeExec; fix LIMIT bug Oct 1, 2022
@Dandandan
Copy link
Contributor

Dandandan commented Oct 1, 2022

@andygrove this probably is added in plans after the order by limit changes. SortExec should probably be updated as well - that node has a new fetch parameter.

@andygrove
Copy link
Member Author

Thanks @Dandandan. I pushed a fix for SortExec.

@thinkharderdev thinkharderdev merged commit 0376f37 into apache:master Oct 1, 2022
@andygrove andygrove deleted the sort-preserving-merge branch October 1, 2022 21:13
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.

Queries with LIMIT are failing with "PhysicalExtensionCodec is not provided"
3 participants