Skip to content

sql: use soft limits for scans #47378

@yuzefovich

Description

@yuzefovich

In 20.1 release we extended the propagation of the soft limits, so now we have them on scan nodes. However, currently we're ignoring soft limits since the TableReaders will still read too eagerly in the soft limit case. To prevent this we'll need a new mechanism on the execution side to modulate table reads.

Jira issue: CRDB-4420

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-sql-queriesSQL Queries Team

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions