...
BugZero found this defect 15 days ago.
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
nicholas.zolnierz commented on Thu, 12 Dec 2024 15:36:40 +0000: Thanks arun.banala@mongodb.com, this is related to a few other known issues of explain of $unionWith pipelines. Sending to backlog for now but if the linked timeseries bug needs more immediate attention let me know and we can try to get this scheduled.