-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
Query Integration
There's been a couple examples (linked to this ticket) of DocumentSources having validation code inside their parsers which isn't really about parsing. This makes it hard to build an AST that you don't intend to execute, as we did in query stats.
The SBE system has the concept of calling "open" before you call "getNext", and I think this would be a good paradigm to solve this problem. There are already many stages with a sort of "bool _initialized" tracking stuff to do on the first call to getNext().
- is related to
-
SERVER-83531 $backupCursor fails to re-parse
- Closed
-
SERVER-85374 Analyze command is not reparseable
- Closed
- related to
-
SERVER-79508 Investigate removing StubMongoProcessInterface from production use
- Backlog