[YSQL] path->rows is set incorrectly in yb_cost_bitmap_table_scan #25710
Labels
area/ysql
Yugabyte SQL (YSQL)
kind/bug
This issue is a bug
priority/medium
Medium priority issue
status/awaiting-triage
Issue awaiting triage
Jira Link: DB-14968
Description
the value of path->rows is set here then overwritten immediately after. So, the final path->rows wouldn't reflect any local filter.
furthermore, parameterized predicates are not taken into account even if it wasn't overwritten there. it's best not to recompute it once the value is set at the beginning of the function as shown below:
Issue Type
kind/bug
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: