Skip to content

Internal error: Assertion failed: !self.finished: LimitedBatchCoalescer: cannot push batch after finish #19781

@bert-beyondloops

Description

@bert-beyondloops

Describe the bug

Any physical query plan that incorporates filtering logic alongside row limitation consistently results in an internal error being raised."

To Reproduce

set datafusion.execution.target_partitions = '1';
set datafusion.execution.batch_size = '1';
create table test (i INTEGER) as values (1), (2);
select * from test where i <> 0 limit 1;

Expected behavior

No internal error should be raised.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionSomething that used to work no longer does

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions