[SERVER-82821] Could not find pretty print function: ExplainGenerator::explainIntervalExpr Created: 06/Nov/23  Updated: 07/Nov/23

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Timour Katchaounov Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Optimization
Operating System: ALL
Participants:

 Description   

When running this query "{$and:[{a: {$eq: 17}}, \{a: {$eq: 42}}]}", with a breakpoint in

optimizer/utils/utils.cpp:1501 

I get the following error:

(gdb) p req
$5 = (std::tuple_element<1, std::pair<mongo::optimizer::PartialSchemaKey, mongo::optimizer::PartialSchemaRequirement> const>::type &) @0x7fff4c009c58: {
  _boundProjectionName = ,
  _intervals = Warning: Could not find pretty print function: ExplainGenerator::explainIntervalExpr
<mongo::optimizer::BoolExpr<mongo::optimizer::IntervalRequirement>::Node>,
  _isPerfOnly = false
}


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