Skip to content

Executing ProjectionExec with no column will return an Err #4911

Closed

Description

@viirya

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions