During explain with execution stats for $unionWith, it looks we are not expanded the view definition of the sub-pipeline. The SERVER-88810 attempted to fix this for Sharded views by try catching the CommandOnShardedViewNotSupportedOnMongod, but this exception does not get throw for non-sharded views. So the view resolution never happens. The sub-pipeline execution is still happening on the correct namespace but without the prefix pipeline from the view definition
- is depended on by
-
SERVER-95208 Fix timeseries query failing in explain, but passing when running
-
- Closed
-
- related to
-
SERVER-88810 View resolution error on sharded view with $unionWith in explain
-
- Closed
-
-
SERVER-75108 Revisit implementation of explain for $unionWith
-
- Backlog
-