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

Handle empty rows for array_sort #10786

Merged
merged 1 commit into from
Jun 4, 2024
Merged

Conversation

jayzhan211
Copy link
Contributor

@jayzhan211 jayzhan211 commented Jun 4, 2024

Which issue does this PR close?

Closes #10772.

Rationale for this change

If the row fail to match the filter condition, it has empty rows (row count is 0), so we should handle this edge case

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Jun 4, 2024
Signed-off-by: jayzhan211 <[email protected]>
@jayzhan211 jayzhan211 marked this pull request as ready for review June 4, 2024 06:28
@jayzhan211
Copy link
Contributor Author

Thanks @Dandandan !

@jayzhan211 jayzhan211 merged commit 6a0a2dc into apache:main Jun 4, 2024
24 checks passed
findepi pushed a commit to findepi/datafusion that referenced this pull request Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

array_sort fails if input batch is empty
2 participants