[SERVER-75437] [CQF] Heuristic CE for SargableNode should return child CE when there are no predicates to estimate Created: 29/Mar/23  Updated: 29/Oct/23  Resolved: 30/Mar/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Hana Pearlman Assignee: Hana Pearlman
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: QO 2023-04-03
Participants:

 Description   

CE for SargableNode returns 1.0 when there are no predicates to estimate. This could happen if all of the predicates in the SargableNode are perf-only. Instead, I think it should return the child's CE.



 Comments   
Comment by Githook User [ 30/Mar/23 ]

Author:

{'name': 'Hana Pearlman', 'email': 'hana.pearlman@mongodb.com', 'username': 'HanaPearlman'}

Message: SERVER-75437: Heuristic SargableNode CE should return child CE when there are no predicates to estimate
Branch: master
https://github.com/mongodb/mongo/commit/222dde5f2593af7c0e4175696d2fdd6ca54e24cd

Comment by Hana Pearlman [ 29/Mar/23 ]

The line in question is here

Generated at Thu Feb 08 06:30:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.