Skip to content

Use batched row conversion for array_has_any, array_has_all #20587

@neilconway

Description

@neilconway

Describe the bug

These UDFs do row-at-a-time row conversion, which means incurring a lot of extra overhead. It would be more efficient to convert all of the rows in the batch at once and then index into the converted rows to compute the ANY/ALL comparison for each row.

To Reproduce

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions