Skip to content

We do not respect ignoreNulls in first_value / last_value aggregates #1630

@andygrove

Description

@andygrove

Describe the bug

When creating the native plan for first_value / last_value aggregates, we currently hard-code ignoreNulls instead of using the value from the protobuf encoding:

                AggregateExprBuilder::new(Arc::new(func), vec![child])
                    .schema(schema)
                    .alias("first")
                    .with_ignore_nulls(false)  <-- this should not be hard-coded!

Steps to reproduce

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions