Skip to content

Got arrow error when sorting on empty batch #10093

@viirya

Description

@viirya

Describe the bug

Found the issue when Comet tries to run a Spark query which sorts empty batch: apache/datafusion-comet#270

Arrow error: Invalid argument error: must either specify a row count or at least one column

To Reproduce

No response

Expected behavior

No response

Additional context

No response

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