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

Bug-fix/find_orderings_of_exprs #7457

Merged
merged 4 commits into from
Sep 4, 2023
Merged

Bug-fix/find_orderings_of_exprs #7457

merged 4 commits into from
Sep 4, 2023

Conversation

berkaysynnada
Copy link
Contributor

@berkaysynnada berkaysynnada commented Aug 31, 2023

Which issue does this PR close?

Closes #7418 .

Rationale for this change

IOx tests failed. This error has not been encountered in Datafusion because in the absence of output ordering, input.output_ordering() returns None, not Some([]). This issue is fixed now.

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added the physical-expr Physical Expressions label Aug 31, 2023
@liukun4515
Copy link
Contributor

liukun4515 commented Aug 31, 2023

@berkaysynnada can you add the ut for that case?

Copy link
Contributor

@ozankabak ozankabak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, a fairly small and straightforward bugfix. Let's merge soon if there are no concerns.

datafusion/physical-expr/src/utils.rs Outdated Show resolved Hide resolved
@ozankabak ozankabak merged commit 3ea870c into apache:main Sep 4, 2023
21 checks passed
@alamb
Copy link
Contributor

alamb commented Sep 5, 2023

Thank you @berkaysynnada and @viirya and @ozankabak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
physical-expr Physical Expressions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

panicked at 'index out of bounds: the len is 0 but the index is 0' in find_orderings_of_exprs
5 participants