Skip to content

Support scalar functions pushdown to Duckdb with LIMIT. #8764

Description

@myrrc

As an example, SELECT array_length("GT") FROM statpopgen LIMIT 1 produces
PROJECTION -> STREAMING_LIMIT -> READ_VORTEX query plan which breaks pushdown because
we don't have a PROJECTION -> GET chain.

We need to support this in scalar function pushdown pass and upstream it.

Activity

  1. self-assigned this
    on Jul 15, 2026
  2. added
    tracking-issueShared implementation context for work likely to span multiple PRs.
    on Jul 15, 2026
  3. added
    tracking-issueShared implementation context for work likely to span multiple PRs.
    and removed
    tracking-issueShared implementation context for work likely to span multiple PRs.
    on Jul 23, 2026
  4. linked a pull request that will close this issueduckdb: pushdown expressions with LIMIT #8943on Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ext/duckdbRelates to the DuckDB integrationtracking-issueShared implementation context for work likely to span multiple PRs.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions