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

Executing ProjectionExec with no column will return an Err #4911

Closed
viirya opened this issue Jan 15, 2023 · 0 comments · Fixed by #4912
Closed

Executing ProjectionExec with no column will return an Err #4911

viirya opened this issue Jan 15, 2023 · 0 comments · Fixed by #4912
Labels
bug Something isn't working

Comments

@viirya
Copy link
Member

viirya commented Jan 15, 2023

Describe the bug

Executing ProjectionExec with no column will return an Err ArrowError(InvalidArgumentError("must either specify a row count or at least one column")).

To Reproduce

It may not be hitting this error from SQL query directly. For some query optimization might create projection with no column. I got this error when converting optimized query from other query engine to DataFusion.

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

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