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

Got arrow error when sorting on empty batch #270

Closed
viirya opened this issue Apr 16, 2024 · 0 comments · Fixed by #271
Closed

Got arrow error when sorting on empty batch #270

viirya opened this issue Apr 16, 2024 · 0 comments · Fixed by #271
Labels
bug Something isn't working

Comments

@viirya
Copy link
Member

viirya commented Apr 16, 2024

Describe the bug

Found the issue while working on #250: https://github.com/apache/arrow-datafusion-comet/actions/runs/8681807652/job/23805034669?pr=250

For example, SQLWindowFunctionSuite has test failure like:

[info] - SPARK-7595: Window will cause resolve failed with self join *** FAILED *** (110 milliseconds)
[info]   org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 161.0 failed 1 times, most recent failure: Lost task 0.0 in stage 161.0 (TID 110) (7d92ed5170bf executor driver): org.apache.comet.CometNativeException: Arrow error: Invalid argument error: must either specify a row count or at least one column

There are two places that we need to fix. One is in Comet, one is in DataFusion.

Steps to reproduce

No response

Expected behavior

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant