sql, kv: propagate and utilize estimated row count hint for KV projection pushdown work #94850
Labels
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-sql-queries
SQL Queries Team
In some cases, we have the estimated row count hint for how many rows will be needed from the table reader. In the initial version of the KV projection pushdown work that information is not utilized, but it'd be nice to take advantage of the hint. In particular, this will allow the wrapped
cFetcher
to create batches of reasonable capacity (rather than doing exponential increase starting with the size of 1).Note that this estimate is already used to set
MaxSpanRequestKeys
limit on the wholeBatchRequest
on the SQL side.Jira issue: CRDB-23186
The text was updated successfully, but these errors were encountered: