-
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
datafusion-cli: results of group by aggregation query not showing #8702
Comments
Maybe some other fallout from #8651 -- I had some work in progress to try and consolidate / clean up the output code more in https://github.com/alamb/arrow-datafusion/tree/alamb/cli-cleanup but I have not finished it |
I think this is a regression and we should try and fix it before datafusion 35 release #8863 -- cc @andygrove |
I can try to help debug this tomorrow if no one else beats me to it |
Problem is here: Specifically the It seems my query will have some empty RecordBatches initially, which causes this check to completely ignore printing the rest of the potentially data-filled RecordBatches |
Thanks @Jefffrey -- I will make a patch |
This appears to have been introduced in #8651 |
PR ready for review: #8895 |
Describe the bug
datafusion-cli isn't showing results for queries involving selecting count when group by.
To Reproduce
Given input file:
Querying this file in datafusion-cli:
Expected behavior
Should get results like:
Additional context
No response
The text was updated successfully, but these errors were encountered: