-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
ALL
-
QE 2021-10-04
buildscripts/resmoke.py run --suites=aggregation --mongodSetParameters="{internalQueryEnableSlotBasedExecutionEngine: true}" --additionalFeatureFlags=featureFlagTimeseriesCollection,featureFlagSbePlanCache,featureFlagSBEGroupPushdown jstests/aggregation/sources/unionWith/unionWith.js
The failed test case:
// Test that a $group within a $unionWith sub-pipeline correctly fails if it needs to spill but // 'allowDiskUse' is false. assert.commandFailedWithCode(testDB.runCommand({ aggregate: collA.getName(), pipeline: [ { $unionWith: { coll: collB.getName(), pipeline: [ {"$group": {_id: "$groupKey", val: {$sum: "$val"}}}, {"$addFields": {groupKey: 1}} ] } }, ], allowDiskUse: false, cursor: {} }), ErrorCodes.QueryExceededMemoryLimitNoDiskUseAllowed);
- related to
-
SERVER-58436 Implement spilling HashAgg
- Closed