Skip to content

[BUG] Simple window query fails #6691

@comphead

Description

@comphead

Describe the bug

Not sure if its a regression but simple window query fails.

To Reproduce

DataFusion CLI v26.0.0
❯ select sum(1) over() x, sum(1) over () y;
Arrow error: Invalid argument error: batches[0] schema is different with argument schema.
            batches[0] schema: Schema { fields: [Field { name: "placeholder_0", data_type: Null, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }], metadata: {} },
            argument schema: Schema { fields: [], metadata: {} }

Expected behavior

Should work.

Additional context

Found when working on #6492

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions