[SERVER-74494] [CQF] Do not explain if not required Created: 01/Mar/23  Updated: 29/Oct/23  Resolved: 14/Mar/23

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

Type: Improvement Priority: Major - P3
Reporter: Svilen Mihaylov (Inactive) Assignee: Svilen Mihaylov (Inactive)
Resolution: Fixed Votes: 0
Labels: cascades-starter
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Optimization
Backwards Compatibility: Fully Compatible
Participants:

 Description   

In opt_phase_manager.cpp we call at least 3 explains (input ABT, post-memo ABT, and optimized ABT) in addition to explaining sampling queries. We should explain only if required (e.g. via .explain() from js) or for testing.

 

The memo is currently unconditionally explained.



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

Author:

{'name': 'Svilen Mihaylov', 'email': 'svilen.mihaylov@mongodb.com', 'username': 'svilen-mihaylov'}

Message: SERVER-74494 [CQF] Do not explain if not required
Branch: master
https://github.com/mongodb/mongo/commit/57ddfee0912e1efb0de97261711634397aaf3339

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