[SERVER-71377] Implement CE for null equality Created: 15/Nov/22  Updated: 29/Oct/23  Resolved: 19/Dec/22

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

Type: Task Priority: Major - P3
Reporter: Alya Berciu Assignee: Alya Berciu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Optimization
Backwards Compatibility: Fully Compatible
Sprint: QO 2022-12-26
Participants:

 Description   

The predicate {$eq: null} is expected to match both null and missing values. After SERVER-66606, it should be possible to use the type counters to get the total counts of null values (TypeTag::Null) and missing (TypeTag:Nothing). We should add these counts together when we want to estimate an equality interval on null.



 Comments   
Comment by Githook User [ 19/Dec/22 ]

Author:

{'name': 'Alya Berciu', 'email': 'alya.berciu@mongodb.com', 'username': 'alyacb'}

Message: SERVER-71377 Adding missing count to CE for null
Branch: master
https://github.com/mongodb/mongo/commit/72ac89f5e7f44d93bda22eb4686b4827b03b65ed

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