-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Allow each LiteParsedDocumentSource to declare whether it:
- Does nothing for views,
- Has a custom callback, or
- Disallows views
This should like something like:
class LiteParsedDocumentSource { struct DefaultViewPolicy; // No special handling required. using DisallowViewType = StringData; // Views not supported. using ViewPolicyFn = std::function<void(const ViewInfo&)>; // Custom handling /** * Indicates how this stage will interact with a view. LiteParsedDocumentSources that * wish to perform custom behavior for views should override this function to return * a std::function. */ virtual std::variant<DefaultViewPolicy, ViewPolicyFn, DisallowViewType> getViewPolicy() const { return DefaultViewPolicy; } }
- depends on
-
SERVER-115056 Introduce ViewInfo struct in LiteParsed layer
-
- Open
-
- is depended on by
-
SERVER-115058 Add view handling driver to runAggregate()
-
- Closed
-
-
SERVER-115066 Add view handling functions to LiteParsedPipeline
-
- Needs Scheduling
-
-
SERVER-115067 Add ViewPolicy override to DocumentSourceInternalSearchIdLookup::LiteParsed
-
- Needs Scheduling
-
-
SERVER-115074 Add ViewPolicy to AstNode
-
- Needs Scheduling
-