mirror of https://github.com/mongodb/mongo
SERVER-111222 Add support for Join Ordering INLJ nodes in stage builder (#44708)
GitOrigin-RevId: 985cbfe9d01426db7b6afd6f349c0bd0f2535e93
This commit is contained in:
parent
9955fe3541
commit
b9b71b48a0
|
|
@ -55,7 +55,7 @@ const original = assert.commandWorked(db.adminCommand({getParameter: 1, "interna
|
|||
|
||||
try {
|
||||
// Increase explain threshold step-by-step.
|
||||
for (let size = 350; ; size++) {
|
||||
for (let size = 410; ; size++) {
|
||||
if (!checkSbeRestrictedOrFullyEnabled(db)) {
|
||||
// Test is SBE-only.
|
||||
break;
|
||||
|
|
@ -73,11 +73,11 @@ try {
|
|||
.aggregate([{$match: {"$or": orClauses}}, {$group: {_id: "$_id"}}, {$project: {_id: 1, a: 0}}]);
|
||||
// Test is SBE-only. Assert the query used SBE as expected.
|
||||
assert(getWarnings(explain).length > 0 || getEngine(explain) === "sbe");
|
||||
jsTestLog("Checking explain");
|
||||
jsTest.log.info("Checking explain");
|
||||
let winningPlan = getQueryPlanner(explain).winningPlan;
|
||||
let queryPlan = winningPlan.queryPlan;
|
||||
let slotBasedPlan = winningPlan.slotBasedPlan;
|
||||
jsTestLog({
|
||||
jsTest.log.info({
|
||||
"size": size,
|
||||
"Object.bsonsize(winningPlan)": Object.bsonsize(winningPlan),
|
||||
"winningPlan": winningPlan,
|
||||
|
|
|
|||
|
|
@ -144,8 +144,10 @@ Creating Index
|
|||
"$lte" : 5
|
||||
}
|
||||
},
|
||||
"nss" : "test.cached_partial_index_plan_not_reused_for_ineligible_query_md",
|
||||
"inputStage" : {
|
||||
"stage" : "IXSCAN",
|
||||
"nss" : "test.cached_partial_index_plan_not_reused_for_ineligible_query_md",
|
||||
"keyPattern" : {
|
||||
"a" : 1
|
||||
},
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -79,6 +80,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -101,6 +103,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -146,6 +149,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -195,6 +199,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -217,6 +222,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -260,6 +266,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -307,6 +314,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -330,6 +338,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -376,6 +385,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -428,6 +438,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -451,6 +462,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -497,6 +509,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -549,6 +562,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -572,6 +586,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -617,6 +632,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -668,6 +684,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -691,6 +708,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -738,6 +756,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -792,6 +811,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -815,6 +835,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -863,6 +884,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -919,6 +941,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -942,6 +965,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -990,6 +1014,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1047,6 +1072,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1070,6 +1096,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1119,6 +1146,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1178,6 +1206,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1201,6 +1230,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1246,6 +1276,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1286,6 +1317,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1308,6 +1340,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1355,6 +1388,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1410,6 +1444,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1433,6 +1468,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1478,6 +1514,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1518,6 +1555,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1540,6 +1578,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1587,6 +1626,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1642,6 +1682,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1665,6 +1706,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1711,6 +1753,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1752,6 +1795,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1774,6 +1818,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1821,6 +1866,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1876,6 +1922,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1899,6 +1946,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1942,6 +1990,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1980,6 +2029,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2002,6 +2052,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2045,6 +2096,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2083,6 +2135,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2105,6 +2158,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2149,6 +2203,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2188,6 +2243,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2210,6 +2266,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2255,6 +2312,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2306,6 +2364,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2329,6 +2388,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2374,6 +2434,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2425,6 +2486,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2448,6 +2510,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2493,6 +2556,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2544,6 +2608,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2567,6 +2632,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2612,6 +2678,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2663,6 +2730,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2686,6 +2754,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2731,6 +2800,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2782,6 +2852,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2805,6 +2876,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2850,6 +2922,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2901,6 +2974,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2924,6 +2998,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2974,6 +3049,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3019,6 +3095,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3041,6 +3118,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3101,6 +3179,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3156,6 +3235,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3179,6 +3259,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3251,6 +3332,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3344,6 +3426,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3427,6 +3510,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3505,6 +3589,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3528,6 +3613,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3597,6 +3683,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3661,6 +3748,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3684,6 +3772,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3728,6 +3817,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3767,6 +3857,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3790,6 +3881,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3835,6 +3927,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3886,6 +3979,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3910,6 +4004,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3957,6 +4052,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4012,6 +4108,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4036,6 +4133,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4079,6 +4177,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4126,6 +4225,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4150,6 +4250,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4195,6 +4296,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4246,6 +4348,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4270,6 +4373,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4315,6 +4419,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4355,6 +4460,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4378,6 +4484,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4425,6 +4532,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4480,6 +4588,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4504,6 +4613,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4547,6 +4657,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4594,6 +4705,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4617,6 +4729,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4662,6 +4775,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4713,6 +4827,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4737,6 +4852,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -63,6 +63,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.base_coll_reorder_md_base",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"localField" : "a",
|
||||
|
|
@ -166,6 +167,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.base_coll_reorder_md_base",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"localField" : "a",
|
||||
|
|
@ -264,6 +266,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.base_coll_reorder_md_base",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"localField" : "base",
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -144,9 +144,11 @@ Creating Index
|
|||
"$lte" : 5
|
||||
}
|
||||
},
|
||||
"nss" : "test.cached_partial_index_plan_not_reused_for_ineligible_query_md",
|
||||
"inputStage" : {
|
||||
"stage" : "IXSCAN",
|
||||
"planNodeId" : 1,
|
||||
"nss" : "test.cached_partial_index_plan_not_reused_for_ineligible_query_md",
|
||||
"keyPattern" : {
|
||||
"a" : 1
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2025,6 +2025,7 @@ Execution Engine: classic
|
|||
"d"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2328,6 +2329,7 @@ Execution Engine: sbe
|
|||
"d"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2394,6 +2396,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2900,6 +2903,7 @@ Execution Engine: classic
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -2920,6 +2924,7 @@ Execution Engine: classic
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -2957,6 +2962,7 @@ Execution Engine: classic
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -2977,6 +2983,7 @@ Execution Engine: classic
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -3014,6 +3021,7 @@ Execution Engine: classic
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -3034,6 +3042,7 @@ Execution Engine: classic
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -3076,6 +3085,7 @@ Execution Engine: classic
|
|||
"b" : [ ],
|
||||
"c" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -3096,6 +3106,7 @@ Execution Engine: classic
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3215,6 +3226,7 @@ Execution Engine: sbe
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -3235,6 +3247,7 @@ Execution Engine: sbe
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3309,6 +3322,7 @@ Execution Engine: sbe
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -3329,6 +3343,7 @@ Execution Engine: sbe
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3400,6 +3415,7 @@ Execution Engine: sbe
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -3425,6 +3441,7 @@ Execution Engine: sbe
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3506,6 +3523,7 @@ Execution Engine: classic
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md-2",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3673,6 +3691,7 @@ Execution Engine: classic
|
|||
"$gt" : 0
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md-3",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3698,6 +3717,7 @@ Execution Engine: classic
|
|||
"b" : [ ],
|
||||
"c" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md-3",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3886,6 +3906,7 @@ Execution Engine: sbe
|
|||
"b" : [ ],
|
||||
"c" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4055,6 +4076,7 @@ Execution Engine: sbe
|
|||
"b" : [ ],
|
||||
"c" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4191,6 +4213,7 @@ Execution Engine: sbe
|
|||
"stage" : "GROUP"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4218,6 +4241,7 @@ Execution Engine: sbe
|
|||
],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4249,6 +4273,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4296,6 +4321,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -75,6 +75,7 @@
|
|||
"$gt" : 3
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -100,6 +101,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -145,6 +147,7 @@
|
|||
],
|
||||
"winningPlan" : [
|
||||
{
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -167,6 +170,7 @@
|
|||
"x"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -253,6 +257,7 @@
|
|||
"$gt" : 3
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -278,6 +283,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -798,6 +804,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -823,6 +830,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -865,6 +873,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -890,6 +899,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -927,6 +937,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -952,6 +963,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -994,6 +1006,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -1019,6 +1032,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -1061,6 +1075,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -1086,6 +1101,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -1128,6 +1144,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -1153,6 +1170,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1371,6 +1389,7 @@
|
|||
"rejectedPlans" : [ ],
|
||||
"winningPlan" : [
|
||||
{
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1399,6 +1418,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -1424,6 +1444,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1456,6 +1477,7 @@
|
|||
"rejectedPlans" : [ ],
|
||||
"winningPlan" : [
|
||||
{
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1484,6 +1506,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -1515,6 +1538,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1537,6 +1561,7 @@
|
|||
"$lt" : 250
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1557,6 +1582,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"x" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -1567,6 +1593,7 @@
|
|||
"$gt" : -1
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1592,6 +1619,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1687,6 +1715,7 @@
|
|||
"$lt" : 105
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1707,6 +1736,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"x" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1718,6 +1748,7 @@
|
|||
"$gt" : -1
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1743,6 +1774,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1776,6 +1808,7 @@
|
|||
"rejectedPlans" : [ ],
|
||||
"winningPlan" : [
|
||||
{
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1799,6 +1832,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"x" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -1807,6 +1841,7 @@
|
|||
"$gt" : -1
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1832,6 +1867,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1902,6 +1938,7 @@
|
|||
"$lt" : 250
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1922,6 +1959,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"x" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1954,6 +1992,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ Execution Engine: sbe
|
|||
"stage" : "GROUP"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -61,6 +62,7 @@ Execution Engine: sbe
|
|||
],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -190,6 +192,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -348,6 +351,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -387,6 +391,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -443,6 +448,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -728,6 +734,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -932,6 +939,7 @@ Execution Engine: classic
|
|||
"$lt" : 3
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -949,6 +957,7 @@ Execution Engine: classic
|
|||
"rejectedPlans" : [ ],
|
||||
"winningPlan" : [
|
||||
{
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -974,6 +983,7 @@ Execution Engine: classic
|
|||
"$_path" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -209,6 +209,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_query_planner_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -259,6 +260,7 @@ Execution Engine: sbe
|
|||
"stage" : "GROUP"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_query_planner_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -279,6 +281,7 @@ Execution Engine: sbe
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_query_planner_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -374,6 +377,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_query_planner_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -47,6 +48,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -691,6 +693,7 @@ Execution Engine: classic
|
|||
"rejectedPlans" : [ ],
|
||||
"winningPlan" : [
|
||||
{
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -711,6 +714,7 @@ Execution Engine: classic
|
|||
"multiKeyPaths" : {
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -749,6 +753,7 @@ Execution Engine: sbe
|
|||
"stage" : "GROUP"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -769,6 +774,7 @@ Execution Engine: sbe
|
|||
"multiKeyPaths" : {
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -79,6 +80,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -101,6 +103,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -146,6 +149,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -195,6 +199,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -217,6 +222,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -260,6 +266,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -307,6 +314,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -330,6 +338,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -376,6 +385,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -428,6 +438,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -451,6 +462,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -497,6 +509,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -549,6 +562,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -572,6 +586,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -617,6 +632,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -668,6 +684,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -691,6 +708,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -738,6 +756,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -792,6 +811,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -815,6 +835,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -863,6 +884,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -919,6 +941,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -942,6 +965,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -990,6 +1014,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1047,6 +1072,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1070,6 +1096,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1119,6 +1146,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1178,6 +1206,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1201,6 +1230,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1246,6 +1276,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1286,6 +1317,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1308,6 +1340,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1355,6 +1388,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1410,6 +1444,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1433,6 +1468,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1478,6 +1514,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1518,6 +1555,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1540,6 +1578,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1587,6 +1626,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1642,6 +1682,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1665,6 +1706,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1711,6 +1753,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1752,6 +1795,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1774,6 +1818,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1821,6 +1866,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1876,6 +1922,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1899,6 +1946,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1942,6 +1990,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1980,6 +2029,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2002,6 +2052,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2045,6 +2096,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2083,6 +2135,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2105,6 +2158,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2149,6 +2203,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2188,6 +2243,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2210,6 +2266,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2255,6 +2312,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2306,6 +2364,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2329,6 +2388,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2374,6 +2434,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2425,6 +2486,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2448,6 +2510,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2493,6 +2556,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2544,6 +2608,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2567,6 +2632,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2612,6 +2678,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2663,6 +2730,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2686,6 +2754,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2731,6 +2800,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2782,6 +2852,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2805,6 +2876,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2850,6 +2922,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2901,6 +2974,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2924,6 +2998,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2974,6 +3049,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3019,6 +3095,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3041,6 +3118,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3101,6 +3179,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3156,6 +3235,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3179,6 +3259,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3251,6 +3332,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3344,6 +3426,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3427,6 +3510,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3505,6 +3589,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3528,6 +3613,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3597,6 +3683,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3661,6 +3748,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3684,6 +3772,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3728,6 +3817,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3767,6 +3857,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3790,6 +3881,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3835,6 +3927,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3886,6 +3979,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3910,6 +4004,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3957,6 +4052,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4012,6 +4108,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4036,6 +4133,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4079,6 +4177,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4126,6 +4225,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4150,6 +4250,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4195,6 +4296,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4246,6 +4348,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4270,6 +4373,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4315,6 +4419,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4355,6 +4460,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4378,6 +4484,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4425,6 +4532,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4480,6 +4588,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4504,6 +4613,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4547,6 +4657,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4594,6 +4705,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4617,6 +4729,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4662,6 +4775,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4713,6 +4827,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4737,6 +4852,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -55,6 +55,7 @@ Execution Engine: classic
|
|||
"winningPlan" : {
|
||||
"direction" : "forward",
|
||||
"isCached" : false,
|
||||
"nss" : "test.base_coll_reorder_md_base",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
}
|
||||
|
|
@ -164,6 +165,7 @@ Execution Engine: classic
|
|||
"winningPlan" : {
|
||||
"direction" : "forward",
|
||||
"isCached" : false,
|
||||
"nss" : "test.base_coll_reorder_md_base",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
}
|
||||
|
|
@ -268,6 +270,7 @@ Execution Engine: classic
|
|||
"winningPlan" : {
|
||||
"direction" : "forward",
|
||||
"isCached" : false,
|
||||
"nss" : "test.base_coll_reorder_md_base",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
}
|
||||
|
|
@ -405,6 +408,7 @@ Execution Engine: classic
|
|||
}
|
||||
},
|
||||
"isCached" : false,
|
||||
"nss" : "test.base_coll_reorder_md_base",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
}
|
||||
|
|
@ -613,6 +617,7 @@ Execution Engine: classic
|
|||
}
|
||||
},
|
||||
"isCached" : false,
|
||||
"nss" : "test.base_coll_reorder_md_base",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -2025,6 +2025,7 @@ Execution Engine: classic
|
|||
"d"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2328,6 +2329,7 @@ Execution Engine: classic
|
|||
"d"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2403,6 +2405,7 @@ Execution Engine: classic
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2921,6 +2924,7 @@ Execution Engine: classic
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -2941,6 +2945,7 @@ Execution Engine: classic
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -2978,6 +2983,7 @@ Execution Engine: classic
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -2998,6 +3004,7 @@ Execution Engine: classic
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -3035,6 +3042,7 @@ Execution Engine: classic
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -3055,6 +3063,7 @@ Execution Engine: classic
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -3097,6 +3106,7 @@ Execution Engine: classic
|
|||
"b" : [ ],
|
||||
"c" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -3117,6 +3127,7 @@ Execution Engine: classic
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3584,6 +3595,7 @@ Execution Engine: classic
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md-2",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3751,6 +3763,7 @@ Execution Engine: classic
|
|||
"$gt" : 0
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md-3",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3776,6 +3789,7 @@ Execution Engine: classic
|
|||
"b" : [ ],
|
||||
"c" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md-3",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3851,6 +3865,7 @@ Execution Engine: classic
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3876,6 +3891,7 @@ Execution Engine: classic
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -3890,6 +3906,7 @@ Execution Engine: classic
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3922,6 +3939,7 @@ Execution Engine: classic
|
|||
"d"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3964,6 +3982,7 @@ Execution Engine: classic
|
|||
"b" : [ ],
|
||||
"c" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4038,6 +4057,7 @@ Execution Engine: classic
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4063,6 +4083,7 @@ Execution Engine: classic
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -4077,6 +4098,7 @@ Execution Engine: classic
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4109,6 +4131,7 @@ Execution Engine: classic
|
|||
"d"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4151,6 +4174,7 @@ Execution Engine: classic
|
|||
"b" : [ ],
|
||||
"c" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4220,6 +4244,7 @@ Execution Engine: classic
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4252,6 +4277,7 @@ Execution Engine: classic
|
|||
"b" : [ ],
|
||||
"c" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -4265,6 +4291,7 @@ Execution Engine: classic
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4299,6 +4326,7 @@ Execution Engine: classic
|
|||
"d"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4313,6 +4341,7 @@ Execution Engine: classic
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4340,6 +4369,7 @@ Execution Engine: classic
|
|||
],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4387,6 +4417,7 @@ Execution Engine: classic
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4448,6 +4479,7 @@ Execution Engine: classic
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
"$eq" : 5
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -34,6 +35,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"x" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -44,6 +46,7 @@
|
|||
"$eq" : 5
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -64,6 +67,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"x" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -75,6 +79,7 @@
|
|||
"$gt" : 3
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -100,6 +105,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -117,6 +123,7 @@
|
|||
"rejectedPlans" : [
|
||||
[
|
||||
{
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -139,12 +146,14 @@
|
|||
"x"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
],
|
||||
"winningPlan" : [
|
||||
{
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -167,6 +176,7 @@
|
|||
"x"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -188,6 +198,7 @@
|
|||
"$eq" : 5
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -210,6 +221,7 @@
|
|||
"x"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -220,6 +232,7 @@
|
|||
"$eq" : 5
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -242,6 +255,7 @@
|
|||
"x"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -253,6 +267,7 @@
|
|||
"$gt" : 3
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -278,6 +293,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -798,6 +814,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -823,6 +840,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -865,6 +883,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -890,6 +909,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -927,6 +947,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -952,6 +973,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -994,6 +1016,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -1019,6 +1042,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -1061,6 +1085,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -1086,6 +1111,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -1128,6 +1154,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -1153,6 +1180,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1543,6 +1571,7 @@
|
|||
"$lt" : 250
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1563,6 +1592,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"x" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -1573,6 +1603,7 @@
|
|||
"$gt" : -1
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1598,6 +1629,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1693,6 +1725,7 @@
|
|||
"$lt" : 105
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1713,6 +1746,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"x" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1724,6 +1758,7 @@
|
|||
"$gt" : -1
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1749,6 +1784,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1911,6 +1947,7 @@
|
|||
"$lt" : 250
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1931,6 +1968,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"x" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1963,6 +2001,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ Execution Engine: classic
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -69,6 +70,7 @@ Execution Engine: classic
|
|||
],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -215,6 +217,7 @@ Execution Engine: classic
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -395,6 +398,7 @@ Execution Engine: classic
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -448,6 +452,7 @@ Execution Engine: classic
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -513,6 +518,7 @@ Execution Engine: classic
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -804,6 +810,7 @@ Execution Engine: classic
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1020,6 +1027,7 @@ Execution Engine: classic
|
|||
"$lt" : 3
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1037,6 +1045,7 @@ Execution Engine: classic
|
|||
"rejectedPlans" : [ ],
|
||||
"winningPlan" : [
|
||||
{
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1062,6 +1071,7 @@ Execution Engine: classic
|
|||
"$_path" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -214,6 +214,7 @@ Execution Engine: classic
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_query_planner_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -290,6 +291,7 @@ Execution Engine: classic
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_query_planner_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -310,6 +312,7 @@ Execution Engine: classic
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_query_planner_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -427,6 +430,7 @@ Execution Engine: classic
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_query_planner_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
"winningPlan" : [
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -48,6 +49,7 @@ Execution Engine: classic
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -701,6 +703,7 @@ Execution Engine: classic
|
|||
"rejectedPlans" : [ ],
|
||||
"winningPlan" : [
|
||||
{
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -721,6 +724,7 @@ Execution Engine: classic
|
|||
"multiKeyPaths" : {
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -766,6 +770,7 @@ Execution Engine: classic
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -786,6 +791,7 @@ Execution Engine: classic
|
|||
"multiKeyPaths" : {
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -63,6 +63,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.base_coll_reorder_md_base",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"localField" : "a",
|
||||
|
|
@ -166,6 +167,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.base_coll_reorder_md_base",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"localField" : "a",
|
||||
|
|
@ -264,6 +266,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.base_coll_reorder_md_base",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"localField" : "base",
|
||||
|
|
@ -394,6 +397,7 @@ Execution Engine: sbe
|
|||
"$eq" : 3
|
||||
}
|
||||
},
|
||||
"nss" : "test.base_coll_reorder_md_base",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"localField" : "base",
|
||||
|
|
@ -590,6 +594,7 @@ Execution Engine: sbe
|
|||
"$eq" : 3
|
||||
}
|
||||
},
|
||||
"nss" : "test.base_coll_reorder_md_base",
|
||||
"planNodeId" : 1,
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -144,9 +144,11 @@ Creating Index
|
|||
"$lte" : 5
|
||||
}
|
||||
},
|
||||
"nss" : "test.cached_partial_index_plan_not_reused_for_ineligible_query_md",
|
||||
"inputStage" : {
|
||||
"stage" : "IXSCAN",
|
||||
"planNodeId" : 1,
|
||||
"nss" : "test.cached_partial_index_plan_not_reused_for_ineligible_query_md",
|
||||
"keyPattern" : {
|
||||
"a" : 1
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2025,6 +2025,7 @@ Execution Engine: classic
|
|||
"d"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2328,6 +2329,7 @@ Execution Engine: sbe
|
|||
"d"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2394,6 +2396,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2900,6 +2903,7 @@ Execution Engine: classic
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -2920,6 +2924,7 @@ Execution Engine: classic
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -2957,6 +2962,7 @@ Execution Engine: classic
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -2977,6 +2983,7 @@ Execution Engine: classic
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -3014,6 +3021,7 @@ Execution Engine: classic
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -3034,6 +3042,7 @@ Execution Engine: classic
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -3076,6 +3085,7 @@ Execution Engine: classic
|
|||
"b" : [ ],
|
||||
"c" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -3096,6 +3106,7 @@ Execution Engine: classic
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3215,6 +3226,7 @@ Execution Engine: sbe
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -3235,6 +3247,7 @@ Execution Engine: sbe
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3309,6 +3322,7 @@ Execution Engine: sbe
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -3329,6 +3343,7 @@ Execution Engine: sbe
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3400,6 +3415,7 @@ Execution Engine: sbe
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -3425,6 +3441,7 @@ Execution Engine: sbe
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3506,6 +3523,7 @@ Execution Engine: classic
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md-2",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3673,6 +3691,7 @@ Execution Engine: classic
|
|||
"$gt" : 0
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md-3",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3698,6 +3717,7 @@ Execution Engine: classic
|
|||
"b" : [ ],
|
||||
"c" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md-3",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3886,6 +3906,7 @@ Execution Engine: sbe
|
|||
"b" : [ ],
|
||||
"c" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4055,6 +4076,7 @@ Execution Engine: sbe
|
|||
"b" : [ ],
|
||||
"c" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4191,6 +4213,7 @@ Execution Engine: sbe
|
|||
"stage" : "GROUP"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4218,6 +4241,7 @@ Execution Engine: sbe
|
|||
],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4249,6 +4273,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4296,6 +4321,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -75,6 +75,7 @@
|
|||
"$gt" : 3
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -100,6 +101,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -145,6 +147,7 @@
|
|||
],
|
||||
"winningPlan" : [
|
||||
{
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -167,6 +170,7 @@
|
|||
"x"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -253,6 +257,7 @@
|
|||
"$gt" : 3
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -278,6 +283,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -798,6 +804,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -823,6 +830,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -865,6 +873,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -890,6 +899,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -927,6 +937,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -952,6 +963,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -994,6 +1006,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -1019,6 +1032,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -1061,6 +1075,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -1086,6 +1101,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -1128,6 +1144,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -1153,6 +1170,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1371,6 +1389,7 @@
|
|||
"rejectedPlans" : [ ],
|
||||
"winningPlan" : [
|
||||
{
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1399,6 +1418,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -1424,6 +1444,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1456,6 +1477,7 @@
|
|||
"rejectedPlans" : [ ],
|
||||
"winningPlan" : [
|
||||
{
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1484,6 +1506,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -1515,6 +1538,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1537,6 +1561,7 @@
|
|||
"$lt" : 250
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1557,6 +1582,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"x" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -1567,6 +1593,7 @@
|
|||
"$gt" : -1
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1592,6 +1619,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1687,6 +1715,7 @@
|
|||
"$lt" : 105
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1707,6 +1736,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"x" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1718,6 +1748,7 @@
|
|||
"$gt" : -1
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1743,6 +1774,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1776,6 +1808,7 @@
|
|||
"rejectedPlans" : [ ],
|
||||
"winningPlan" : [
|
||||
{
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1799,6 +1832,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"x" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -1807,6 +1841,7 @@
|
|||
"$gt" : -1
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1832,6 +1867,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1902,6 +1938,7 @@
|
|||
"$lt" : 250
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1922,6 +1959,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"x" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1954,6 +1992,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ Execution Engine: sbe
|
|||
"stage" : "GROUP"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -61,6 +62,7 @@ Execution Engine: sbe
|
|||
],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -190,6 +192,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -348,6 +351,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -387,6 +391,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -443,6 +448,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -728,6 +734,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -932,6 +939,7 @@ Execution Engine: classic
|
|||
"$lt" : 3
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -949,6 +957,7 @@ Execution Engine: classic
|
|||
"rejectedPlans" : [ ],
|
||||
"winningPlan" : [
|
||||
{
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -974,6 +983,7 @@ Execution Engine: classic
|
|||
"$_path" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -209,6 +209,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_query_planner_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -259,6 +260,7 @@ Execution Engine: sbe
|
|||
"stage" : "GROUP"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_query_planner_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -279,6 +281,7 @@ Execution Engine: sbe
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_query_planner_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -374,6 +377,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_query_planner_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -47,6 +48,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -691,6 +693,7 @@ Execution Engine: classic
|
|||
"rejectedPlans" : [ ],
|
||||
"winningPlan" : [
|
||||
{
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -711,6 +714,7 @@ Execution Engine: classic
|
|||
"multiKeyPaths" : {
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -749,6 +753,7 @@ Execution Engine: sbe
|
|||
"stage" : "GROUP"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -769,6 +774,7 @@ Execution Engine: sbe
|
|||
"multiKeyPaths" : {
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -79,6 +80,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -101,6 +103,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -146,6 +149,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -195,6 +199,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -217,6 +222,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -260,6 +266,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -307,6 +314,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -330,6 +338,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -376,6 +385,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -428,6 +438,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -451,6 +462,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -497,6 +509,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -549,6 +562,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -572,6 +586,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -617,6 +632,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -668,6 +684,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -691,6 +708,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -738,6 +756,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -792,6 +811,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -815,6 +835,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -863,6 +884,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -919,6 +941,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -942,6 +965,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -990,6 +1014,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1047,6 +1072,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1070,6 +1096,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1119,6 +1146,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1178,6 +1206,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1201,6 +1230,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1246,6 +1276,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1286,6 +1317,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1308,6 +1340,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1355,6 +1388,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1410,6 +1444,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1433,6 +1468,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1478,6 +1514,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1518,6 +1555,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1540,6 +1578,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1587,6 +1626,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1642,6 +1682,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1665,6 +1706,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1711,6 +1753,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1752,6 +1795,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1774,6 +1818,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1821,6 +1866,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1876,6 +1922,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1899,6 +1946,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1942,6 +1990,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1980,6 +2029,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2002,6 +2052,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2045,6 +2096,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2083,6 +2135,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2105,6 +2158,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2149,6 +2203,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2188,6 +2243,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2210,6 +2266,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2255,6 +2312,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2306,6 +2364,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2329,6 +2388,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2374,6 +2434,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2425,6 +2486,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2448,6 +2510,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2493,6 +2556,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2544,6 +2608,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2567,6 +2632,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2612,6 +2678,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2663,6 +2730,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2686,6 +2754,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2731,6 +2800,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2782,6 +2852,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2805,6 +2876,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2850,6 +2922,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2901,6 +2974,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2924,6 +2998,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2974,6 +3049,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3019,6 +3095,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3041,6 +3118,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3101,6 +3179,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3156,6 +3235,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3179,6 +3259,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3251,6 +3332,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3344,6 +3426,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3427,6 +3510,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3505,6 +3589,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3528,6 +3613,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3597,6 +3683,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3661,6 +3748,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3684,6 +3772,7 @@ Summarized explain
|
|||
"m"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3728,6 +3817,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3767,6 +3857,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3790,6 +3881,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3835,6 +3927,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3886,6 +3979,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3910,6 +4004,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3957,6 +4052,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4012,6 +4108,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4036,6 +4133,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4079,6 +4177,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4126,6 +4225,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4150,6 +4250,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4195,6 +4296,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4246,6 +4348,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4270,6 +4373,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4315,6 +4419,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4355,6 +4460,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4378,6 +4484,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4425,6 +4532,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4480,6 +4588,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4504,6 +4613,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4547,6 +4657,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4594,6 +4705,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4617,6 +4729,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4662,6 +4775,7 @@ Summarized explain
|
|||
]
|
||||
}
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4713,6 +4827,7 @@ Summarized explain
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4737,6 +4852,7 @@ Summarized explain
|
|||
"m.a"
|
||||
]
|
||||
},
|
||||
"nss" : "test.expr_in_rewrite_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ Execution Engine: classic
|
|||
"winningPlan" : {
|
||||
"direction" : "forward",
|
||||
"isCached" : false,
|
||||
"nss" : "test.base_coll_reorder_md_base",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
}
|
||||
|
|
@ -164,6 +165,7 @@ Execution Engine: classic
|
|||
"winningPlan" : {
|
||||
"direction" : "forward",
|
||||
"isCached" : false,
|
||||
"nss" : "test.base_coll_reorder_md_base",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
}
|
||||
|
|
@ -268,6 +270,7 @@ Execution Engine: classic
|
|||
"winningPlan" : {
|
||||
"direction" : "forward",
|
||||
"isCached" : false,
|
||||
"nss" : "test.base_coll_reorder_md_base",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
}
|
||||
|
|
@ -405,6 +408,7 @@ Execution Engine: classic
|
|||
}
|
||||
},
|
||||
"isCached" : false,
|
||||
"nss" : "test.base_coll_reorder_md_base",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
}
|
||||
|
|
@ -613,6 +617,7 @@ Execution Engine: classic
|
|||
}
|
||||
},
|
||||
"isCached" : false,
|
||||
"nss" : "test.base_coll_reorder_md_base",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -2025,6 +2025,7 @@ Execution Engine: classic
|
|||
"d"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2328,6 +2329,7 @@ Execution Engine: sbe
|
|||
"d"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2394,6 +2396,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2900,6 +2903,7 @@ Execution Engine: classic
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -2920,6 +2924,7 @@ Execution Engine: classic
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -2957,6 +2962,7 @@ Execution Engine: classic
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -2977,6 +2983,7 @@ Execution Engine: classic
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -3014,6 +3021,7 @@ Execution Engine: classic
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -3034,6 +3042,7 @@ Execution Engine: classic
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -3076,6 +3085,7 @@ Execution Engine: classic
|
|||
"b" : [ ],
|
||||
"c" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -3096,6 +3106,7 @@ Execution Engine: classic
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3215,6 +3226,7 @@ Execution Engine: sbe
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -3235,6 +3247,7 @@ Execution Engine: sbe
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3309,6 +3322,7 @@ Execution Engine: sbe
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -3329,6 +3343,7 @@ Execution Engine: sbe
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3400,6 +3415,7 @@ Execution Engine: sbe
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -3425,6 +3441,7 @@ Execution Engine: sbe
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3506,6 +3523,7 @@ Execution Engine: classic
|
|||
"a" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md-2",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3673,6 +3691,7 @@ Execution Engine: classic
|
|||
"$gt" : 0
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md-3",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -3698,6 +3717,7 @@ Execution Engine: classic
|
|||
"b" : [ ],
|
||||
"c" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md-3",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3886,6 +3906,7 @@ Execution Engine: sbe
|
|||
"b" : [ ],
|
||||
"c" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4055,6 +4076,7 @@ Execution Engine: sbe
|
|||
"b" : [ ],
|
||||
"c" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4191,6 +4213,7 @@ Execution Engine: sbe
|
|||
"stage" : "GROUP"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -4218,6 +4241,7 @@ Execution Engine: sbe
|
|||
],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4249,6 +4273,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4296,6 +4321,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_aggregation_multiplanning_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
"$eq" : 5
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -34,6 +35,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"x" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -44,6 +46,7 @@
|
|||
"$eq" : 5
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -64,6 +67,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"x" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -75,6 +79,7 @@
|
|||
"$gt" : 3
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -100,6 +105,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -117,6 +123,7 @@
|
|||
"rejectedPlans" : [
|
||||
[
|
||||
{
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -139,12 +146,14 @@
|
|||
"x"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
],
|
||||
"winningPlan" : [
|
||||
{
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -167,6 +176,7 @@
|
|||
"x"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -188,6 +198,7 @@
|
|||
"$eq" : 5
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -210,6 +221,7 @@
|
|||
"x"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -220,6 +232,7 @@
|
|||
"$eq" : 5
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -242,6 +255,7 @@
|
|||
"x"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -253,6 +267,7 @@
|
|||
"$gt" : 3
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -278,6 +293,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -798,6 +814,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -823,6 +840,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -865,6 +883,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -890,6 +909,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -927,6 +947,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -952,6 +973,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -994,6 +1016,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -1019,6 +1042,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -1061,6 +1085,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -1086,6 +1111,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -1128,6 +1154,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
{
|
||||
|
|
@ -1153,6 +1180,7 @@
|
|||
"x" : [ ],
|
||||
"y" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1543,6 +1571,7 @@
|
|||
"$lt" : 250
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1563,6 +1592,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"x" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
],
|
||||
|
|
@ -1573,6 +1603,7 @@
|
|||
"$gt" : -1
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1598,6 +1629,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1693,6 +1725,7 @@
|
|||
"$lt" : 105
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1713,6 +1746,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"x" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1724,6 +1758,7 @@
|
|||
"$gt" : -1
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1749,6 +1784,7 @@
|
|||
"y" : [ ],
|
||||
"z" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1911,6 +1947,7 @@
|
|||
"$lt" : 250
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1931,6 +1968,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"x" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1963,6 +2001,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_command_multiplanning_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ Execution Engine: sbe
|
|||
"stage" : "GROUP"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -61,6 +62,7 @@ Execution Engine: sbe
|
|||
],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -190,6 +192,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -348,6 +351,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -387,6 +391,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -443,6 +448,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -728,6 +734,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -932,6 +939,7 @@ Execution Engine: classic
|
|||
"$lt" : 3
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -949,6 +957,7 @@ Execution Engine: classic
|
|||
"rejectedPlans" : [ ],
|
||||
"winningPlan" : [
|
||||
{
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -974,6 +983,7 @@ Execution Engine: classic
|
|||
"$_path" : [ ],
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_index_eligibility_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -209,6 +209,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_query_planner_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -259,6 +260,7 @@ Execution Engine: sbe
|
|||
"stage" : "GROUP"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_query_planner_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -279,6 +281,7 @@ Execution Engine: sbe
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_query_planner_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -374,6 +377,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_query_planner_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
"winningPlan" : [
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -44,6 +45,7 @@ Execution Engine: sbe
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -688,6 +690,7 @@ Execution Engine: classic
|
|||
"rejectedPlans" : [ ],
|
||||
"winningPlan" : [
|
||||
{
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -708,6 +711,7 @@ Execution Engine: classic
|
|||
"multiKeyPaths" : {
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -746,6 +750,7 @@ Execution Engine: sbe
|
|||
"stage" : "GROUP"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -766,6 +771,7 @@ Execution Engine: sbe
|
|||
"multiKeyPaths" : {
|
||||
"b" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_md",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -56,27 +56,47 @@ function runBasicJoinTest(pipeline) {
|
|||
);
|
||||
outputAggregationPlanAndResults(coll, pipeline, {}, true, false);
|
||||
const bottomUpLeftDeepResults = coll.aggregate(pipeline).toArray();
|
||||
assert(
|
||||
_resultSetsEqualUnordered(noJoinOptResults, bottomUpLeftDeepResults),
|
||||
"Results differ between no join opt and bottom-up left-deep join enumeration",
|
||||
);
|
||||
|
||||
subSection("With bottom-up plan enumeration (right-deep)");
|
||||
assert.commandWorked(db.adminCommand({setParameter: 1, internalJoinPlanTreeShape: "rightDeep"}));
|
||||
outputAggregationPlanAndResults(coll, pipeline, {}, true, false);
|
||||
const bottomUpRightDeepResults = coll.aggregate(pipeline).toArray();
|
||||
assert(
|
||||
_resultSetsEqualUnordered(noJoinOptResults, bottomUpRightDeepResults),
|
||||
"Results differ between no join opt and bottom-up right-deep join enumeration",
|
||||
);
|
||||
|
||||
subSection("With bottom-up plan enumeration (zig-zag)");
|
||||
assert.commandWorked(db.adminCommand({setParameter: 1, internalJoinPlanTreeShape: "zigZag"}));
|
||||
outputAggregationPlanAndResults(coll, pipeline, {}, true, false);
|
||||
const bottomUpZigZagResults = coll.aggregate(pipeline).toArray();
|
||||
assert(
|
||||
_resultSetsEqualUnordered(noJoinOptResults, bottomUpZigZagResults),
|
||||
"Results differ between no join opt and bottom-up zig-zag join enumeration",
|
||||
);
|
||||
|
||||
subSection("With random order, seed 44, nested loop joins");
|
||||
assert.commandWorked(db.adminCommand({setParameter: 1, internalJoinReorderMode: "random"}));
|
||||
assert.commandWorked(db.adminCommand({setParameter: 1, internalRandomJoinOrderSeed: 44}));
|
||||
outputAggregationPlanAndResults(coll, pipeline, {}, true, false);
|
||||
const seed44NLJResults = coll.aggregate(pipeline).toArray();
|
||||
assert(
|
||||
_resultSetsEqualUnordered(noJoinOptResults, seed44NLJResults),
|
||||
"Results differ between no join opt and seed 44 NLJ",
|
||||
);
|
||||
|
||||
subSection("With random order, seed 44, hash join enabled");
|
||||
assert.commandWorked(db.adminCommand({setParameter: 1, internalRandomJoinReorderDefaultToHashJoin: true}));
|
||||
outputAggregationPlanAndResults(coll, pipeline, {}, true, false);
|
||||
const seed44HJResults = coll.aggregate(pipeline).toArray();
|
||||
assert(
|
||||
_resultSetsEqualUnordered(noJoinOptResults, seed44HJResults),
|
||||
"Results differ between no join opt and seed 44 HJ",
|
||||
);
|
||||
|
||||
assert.commandWorked(db.adminCommand({setParameter: 1, internalRandomJoinReorderDefaultToHashJoin: false}));
|
||||
|
||||
|
|
@ -85,41 +105,33 @@ function runBasicJoinTest(pipeline) {
|
|||
assert.commandWorked(db.adminCommand({setParameter: 1, internalRandomJoinOrderSeed: 420}));
|
||||
outputAggregationPlanAndResults(coll, pipeline, {}, true, false);
|
||||
const seed420NLJResults = coll.aggregate(pipeline).toArray();
|
||||
assert(
|
||||
_resultSetsEqualUnordered(noJoinOptResults, seed420NLJResults),
|
||||
"Results differ between no join opt and seed 420 NLJ",
|
||||
);
|
||||
|
||||
subSection("With random order, seed 420, hash join enabled");
|
||||
assert.commandWorked(db.adminCommand({setParameter: 1, internalRandomJoinReorderDefaultToHashJoin: true}));
|
||||
outputAggregationPlanAndResults(coll, pipeline, {}, true, false);
|
||||
const seed420HJResults = coll.aggregate(pipeline).toArray();
|
||||
|
||||
// Validate that all execution modes return the same results.
|
||||
assert(
|
||||
_resultSetsEqualUnordered(noJoinOptResults, bottomUpLeftDeepResults),
|
||||
"Results differ between no join opt and bottom-up left-deep join enumeration",
|
||||
);
|
||||
assert(
|
||||
_resultSetsEqualUnordered(noJoinOptResults, bottomUpRightDeepResults),
|
||||
"Results differ between no join opt and bottom-up right-deep join enumeration",
|
||||
);
|
||||
assert(
|
||||
_resultSetsEqualUnordered(noJoinOptResults, bottomUpZigZagResults),
|
||||
"Results differ between no join opt and bottom-up zig-zag join enumeration",
|
||||
);
|
||||
assert(
|
||||
_resultSetsEqualUnordered(noJoinOptResults, seed44NLJResults),
|
||||
"Results differ between no join opt and seed 44 NLJ",
|
||||
);
|
||||
assert(
|
||||
_resultSetsEqualUnordered(noJoinOptResults, seed44HJResults),
|
||||
"Results differ between no join opt and seed 44 HJ",
|
||||
);
|
||||
assert(
|
||||
_resultSetsEqualUnordered(noJoinOptResults, seed420NLJResults),
|
||||
"Results differ between no join opt and seed 420 NLJ",
|
||||
);
|
||||
assert(
|
||||
_resultSetsEqualUnordered(noJoinOptResults, seed420HJResults),
|
||||
"Results differ between no join opt and seed 420 HJ",
|
||||
);
|
||||
|
||||
assert.commandWorked(db.adminCommand({setParameter: 1, internalRandomJoinReorderDefaultToHashJoin: false}));
|
||||
|
||||
foreignColl1.createIndex({a: 1});
|
||||
foreignColl2.createIndex({b: 1});
|
||||
subSection("With fixed order, index join");
|
||||
outputAggregationPlanAndResults(coll, pipeline, {}, true, false);
|
||||
const seedINJResults = coll.aggregate(pipeline).toArray();
|
||||
foreignColl1.dropIndex({a: 1});
|
||||
foreignColl2.dropIndex({b: 1});
|
||||
assert(
|
||||
_resultSetsEqualUnordered(noJoinOptResults, seedINJResults),
|
||||
"Results differ between no join opt and INJ",
|
||||
);
|
||||
} finally {
|
||||
// Reset flags.
|
||||
assert.commandWorked(db.adminCommand({setParameter: 1, internalEnableJoinOptimization: false}));
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// Tests that a query with $in filter over a large array chooses the optimal index.
|
||||
import {code, codeOneLine, section, subSection} from "jstests/libs/pretty_md.js";
|
||||
import {formatExplainRoot} from "jstests/libs/query/analyze_plan.js";
|
||||
import {normalizePlan, getWinningPlanFromExplain} from "jstests/libs/query/analyze_plan.js";
|
||||
|
||||
const coll = db.large_in_with_indexes;
|
||||
coll.drop();
|
||||
|
|
@ -33,7 +33,7 @@ const explain = coll.find(filter).sort(sort).explain("executionStats");
|
|||
|
||||
subSection("Expected plan");
|
||||
print("Note: expecting an IXSCAN on _id_1_rd_1_ard_1");
|
||||
code(tojson(formatExplainRoot(explain)));
|
||||
code(tojson(normalizePlan(getWinningPlanFromExplain(explain.queryPlanner))));
|
||||
|
||||
subSection("Output");
|
||||
const output = coll.find(filter).sort(sort).toArray();
|
||||
|
|
|
|||
|
|
@ -740,6 +740,7 @@
|
|||
"$gte" : "shard0"
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_chunk_skipping",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -760,6 +761,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"c" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_chunk_skipping",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -863,6 +865,7 @@
|
|||
"$gte" : "shard0"
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_chunk_skipping",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -883,6 +886,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"c" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_chunk_skipping",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -198,6 +198,7 @@
|
|||
"$eq" : "1notShardKey_chunk1_s0_1"
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -215,6 +216,7 @@
|
|||
"$eq" : "1notShardKey_chunk1_s0_1"
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -408,6 +410,7 @@
|
|||
"$gte" : "1notShardKey_chunk1_s0_1"
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -425,6 +428,7 @@
|
|||
"$gte" : "1notShardKey_chunk1_s0_1"
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -522,6 +526,7 @@
|
|||
"rejectedPlans" : [
|
||||
[
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -542,6 +547,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -675,6 +681,7 @@
|
|||
"rejectedPlans" : [
|
||||
[
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -698,6 +705,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -743,6 +751,7 @@
|
|||
"rejectedPlans" : [
|
||||
[
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -766,6 +775,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1890,6 +1900,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1913,6 +1924,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1951,6 +1963,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1975,6 +1988,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -1998,6 +2012,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2036,6 +2051,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2364,6 +2380,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2387,6 +2404,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2425,6 +2443,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2452,6 +2471,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2475,6 +2495,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2513,6 +2534,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2661,6 +2683,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2684,6 +2707,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2723,6 +2747,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2751,6 +2776,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -2774,6 +2800,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2813,6 +2840,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3389,6 +3417,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3432,6 +3461,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3601,6 +3631,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3645,6 +3676,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3814,6 +3846,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3857,6 +3890,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4026,6 +4060,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4070,6 +4105,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6053,6 +6089,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6094,6 +6131,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6210,6 +6248,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6251,6 +6290,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6368,6 +6408,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6409,6 +6450,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6525,6 +6567,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6566,6 +6609,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -8802,6 +8846,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -8825,6 +8870,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -8907,6 +8953,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -8930,6 +8977,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -9111,6 +9159,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -9134,6 +9183,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -9216,6 +9266,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -9239,6 +9290,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -9749,6 +9801,7 @@
|
|||
"type" : "simple"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -9772,6 +9825,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -9835,6 +9889,7 @@
|
|||
"type" : "simple"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -9858,6 +9913,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -10014,6 +10070,7 @@
|
|||
"type" : "simple"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -10037,6 +10094,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -10100,6 +10158,7 @@
|
|||
"type" : "simple"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -10123,6 +10182,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -10310,6 +10370,7 @@
|
|||
"$eq" : null
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -10337,6 +10398,7 @@
|
|||
],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -10348,6 +10410,7 @@
|
|||
"$eq" : null
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -10368,6 +10431,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -10393,6 +10457,7 @@
|
|||
"rejectedPlans" : [
|
||||
[
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -10423,6 +10488,7 @@
|
|||
],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -10432,6 +10498,7 @@
|
|||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -10454,6 +10521,7 @@
|
|||
"notShardKey"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -381,6 +381,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -413,6 +414,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -503,6 +505,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -532,6 +535,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -614,6 +618,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -646,6 +651,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -756,6 +762,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -811,6 +818,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -954,6 +962,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -986,6 +995,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1075,6 +1085,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1110,6 +1121,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1226,6 +1238,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1270,6 +1283,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1413,6 +1427,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1446,6 +1461,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1545,6 +1561,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1583,6 +1600,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1696,6 +1714,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1734,6 +1753,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1848,6 +1868,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1890,6 +1911,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1995,6 +2017,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2023,6 +2046,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2107,6 +2131,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2135,6 +2160,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2222,6 +2248,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2250,6 +2277,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2341,6 +2369,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2374,6 +2403,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2457,6 +2487,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2478,6 +2509,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2705,6 +2737,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2733,6 +2766,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2832,6 +2866,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2871,6 +2906,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2983,6 +3019,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3018,6 +3055,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3117,6 +3155,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3158,6 +3197,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3264,6 +3304,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3300,6 +3341,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3421,6 +3463,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3456,6 +3499,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3577,6 +3621,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3618,6 +3663,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3725,6 +3771,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3757,6 +3804,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3866,6 +3914,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3903,6 +3952,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4012,6 +4062,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4052,6 +4103,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4180,6 +4232,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4235,6 +4288,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -481,6 +481,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -504,6 +505,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -540,6 +542,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -563,6 +566,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -665,6 +669,7 @@
|
|||
"stage" : "SORT_KEY_GENERATOR"
|
||||
},
|
||||
{
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -688,6 +693,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -706,6 +712,7 @@
|
|||
"stage" : "SORT_KEY_GENERATOR"
|
||||
},
|
||||
{
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -729,6 +736,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -821,6 +829,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -851,6 +860,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -198,6 +198,7 @@
|
|||
"$eq" : "1notShardKey_chunk1_s0_1"
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -215,6 +216,7 @@
|
|||
"$eq" : "1notShardKey_chunk1_s0_1"
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -408,6 +410,7 @@
|
|||
"$gte" : "1notShardKey_chunk1_s0_1"
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -425,6 +428,7 @@
|
|||
"$gte" : "1notShardKey_chunk1_s0_1"
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -522,6 +526,7 @@
|
|||
"rejectedPlans" : [
|
||||
[
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -542,6 +547,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -675,6 +681,7 @@
|
|||
"rejectedPlans" : [
|
||||
[
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -698,6 +705,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -743,6 +751,7 @@
|
|||
"rejectedPlans" : [
|
||||
[
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -766,6 +775,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1952,6 +1962,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2031,6 +2042,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2414,6 +2426,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2493,6 +2506,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2694,6 +2708,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2775,6 +2790,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3341,6 +3357,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3384,6 +3401,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3553,6 +3571,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3597,6 +3616,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3766,6 +3786,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3809,6 +3830,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3978,6 +4000,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4022,6 +4045,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6005,6 +6029,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6046,6 +6071,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6162,6 +6188,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6203,6 +6230,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6320,6 +6348,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6361,6 +6390,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6477,6 +6507,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6518,6 +6549,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -8754,6 +8786,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -8777,6 +8810,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -8859,6 +8893,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -8882,6 +8917,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -9063,6 +9099,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -9086,6 +9123,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -9168,6 +9206,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -9191,6 +9230,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -9701,6 +9741,7 @@
|
|||
"type" : "simple"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -9724,6 +9765,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -9787,6 +9829,7 @@
|
|||
"type" : "simple"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -9810,6 +9853,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -9966,6 +10010,7 @@
|
|||
"type" : "simple"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -9989,6 +10034,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -10052,6 +10098,7 @@
|
|||
"type" : "simple"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -10075,6 +10122,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -10300,6 +10348,7 @@
|
|||
"$eq" : null
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -10320,6 +10369,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -10384,6 +10434,7 @@
|
|||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -10406,6 +10457,7 @@
|
|||
"notShardKey"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -378,6 +378,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -396,6 +397,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -479,6 +481,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -504,6 +507,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -575,6 +579,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -593,6 +598,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -698,6 +704,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -735,6 +742,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -858,6 +866,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -883,6 +892,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -964,6 +974,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1002,6 +1013,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1121,6 +1133,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1168,6 +1181,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1314,6 +1328,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1350,6 +1365,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1448,6 +1464,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1469,6 +1486,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1565,6 +1583,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1586,6 +1605,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1684,6 +1704,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1705,6 +1726,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1786,6 +1808,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1804,6 +1827,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1885,6 +1909,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1910,6 +1935,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1994,6 +2020,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2019,6 +2046,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2113,6 +2141,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2144,6 +2173,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2219,6 +2249,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2237,6 +2268,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2454,6 +2486,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2472,6 +2505,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2580,6 +2614,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2617,6 +2652,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2706,6 +2742,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2724,6 +2761,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2806,6 +2844,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2824,6 +2863,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2916,6 +2956,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2934,6 +2975,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3037,6 +3079,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3064,6 +3107,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3177,6 +3221,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3211,6 +3256,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3303,6 +3349,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3321,6 +3368,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3424,6 +3472,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3452,6 +3501,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3546,6 +3596,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3567,6 +3618,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3695,6 +3747,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3735,6 +3788,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -481,6 +481,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -504,6 +505,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -540,6 +542,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -563,6 +566,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -665,6 +669,7 @@
|
|||
"stage" : "SORT_KEY_GENERATOR"
|
||||
},
|
||||
{
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -688,6 +693,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -706,6 +712,7 @@
|
|||
"stage" : "SORT_KEY_GENERATOR"
|
||||
},
|
||||
{
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -729,6 +736,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -824,6 +832,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -857,6 +866,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -198,6 +198,7 @@
|
|||
"$eq" : "1notShardKey_chunk1_s0_1"
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -215,6 +216,7 @@
|
|||
"$eq" : "1notShardKey_chunk1_s0_1"
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -408,6 +410,7 @@
|
|||
"$gte" : "1notShardKey_chunk1_s0_1"
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -425,6 +428,7 @@
|
|||
"$gte" : "1notShardKey_chunk1_s0_1"
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -522,6 +526,7 @@
|
|||
"rejectedPlans" : [
|
||||
[
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -542,6 +547,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -675,6 +681,7 @@
|
|||
"rejectedPlans" : [
|
||||
[
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -698,6 +705,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -743,6 +751,7 @@
|
|||
"rejectedPlans" : [
|
||||
[
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -766,6 +775,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1952,6 +1962,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2031,6 +2042,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2414,6 +2426,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2493,6 +2506,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2694,6 +2708,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2775,6 +2790,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3341,6 +3357,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3384,6 +3401,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3553,6 +3571,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3597,6 +3616,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3766,6 +3786,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3809,6 +3830,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3978,6 +4000,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -4022,6 +4045,7 @@
|
|||
"notShardKey" : [ ],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6005,6 +6029,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6046,6 +6071,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6162,6 +6188,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6203,6 +6230,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6320,6 +6348,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6361,6 +6390,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6477,6 +6507,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -6518,6 +6549,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -8754,6 +8786,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -8777,6 +8810,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -8859,6 +8893,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -8882,6 +8917,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -9063,6 +9099,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -9086,6 +9123,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -9168,6 +9206,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -9191,6 +9230,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -9701,6 +9741,7 @@
|
|||
"type" : "simple"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -9724,6 +9765,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -9787,6 +9829,7 @@
|
|||
"type" : "simple"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -9810,6 +9853,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -9966,6 +10010,7 @@
|
|||
"type" : "simple"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -9989,6 +10034,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -10052,6 +10098,7 @@
|
|||
"type" : "simple"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -10075,6 +10122,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -10262,6 +10310,7 @@
|
|||
"$eq" : null
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -10289,6 +10338,7 @@
|
|||
],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -10300,6 +10350,7 @@
|
|||
"$eq" : null
|
||||
}
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -10320,6 +10371,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -10345,6 +10397,7 @@
|
|||
"rejectedPlans" : [
|
||||
[
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -10375,6 +10428,7 @@
|
|||
],
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -10384,6 +10438,7 @@
|
|||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
{
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -10406,6 +10461,7 @@
|
|||
"notShardKey"
|
||||
]
|
||||
},
|
||||
"nss" : "test.distinct_scan_multi_chunk",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -378,6 +378,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -396,6 +397,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -479,6 +481,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -504,6 +507,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -575,6 +579,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -593,6 +598,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -690,6 +696,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -726,6 +733,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -856,6 +864,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -881,6 +890,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -959,6 +969,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -994,6 +1005,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1110,6 +1122,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1154,6 +1167,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1297,6 +1311,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1330,6 +1345,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1428,6 +1444,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1449,6 +1466,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1545,6 +1563,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1566,6 +1585,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1664,6 +1684,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1685,6 +1706,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1766,6 +1788,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1784,6 +1807,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1865,6 +1889,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1890,6 +1915,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1974,6 +2000,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -1999,6 +2026,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2083,6 +2111,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2116,6 +2145,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2203,6 +2233,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2221,6 +2252,7 @@
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2438,6 +2470,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2456,6 +2489,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2548,6 +2582,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2587,6 +2622,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2694,6 +2730,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2712,6 +2749,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2794,6 +2832,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2812,6 +2851,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2904,6 +2944,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -2922,6 +2963,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3025,6 +3067,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3052,6 +3095,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3165,6 +3209,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3199,6 +3244,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3291,6 +3337,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3309,6 +3356,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3412,6 +3460,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3440,6 +3489,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3534,6 +3584,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3555,6 +3606,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
"filter" : {
|
||||
|
||||
},
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3666,6 +3718,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -3721,6 +3774,7 @@ Note: If we have duplicate _ids in the output, that signals a bug here.
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.group_targeting_compound",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -481,6 +481,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -504,6 +505,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -540,6 +542,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -563,6 +566,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -665,6 +669,7 @@
|
|||
"stage" : "SORT_KEY_GENERATOR"
|
||||
},
|
||||
{
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -688,6 +693,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -706,6 +712,7 @@
|
|||
"stage" : "SORT_KEY_GENERATOR"
|
||||
},
|
||||
{
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
{
|
||||
|
|
@ -729,6 +736,7 @@
|
|||
"multiKeyPaths" : {
|
||||
"shardKey" : [ ]
|
||||
},
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "IXSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -821,6 +829,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
@ -851,6 +860,7 @@
|
|||
},
|
||||
{
|
||||
"direction" : "forward",
|
||||
"nss" : "test.sort_group_targeting",
|
||||
"stage" : "COLLSCAN"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -24,8 +24,10 @@
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -60,10 +62,12 @@
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -98,10 +102,12 @@
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -136,10 +142,12 @@
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -174,10 +182,12 @@
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -212,10 +222,12 @@
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -250,10 +262,12 @@
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -301,8 +315,10 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -336,8 +352,10 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -371,8 +389,10 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -406,8 +426,10 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -441,8 +463,10 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -476,8 +500,10 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -502,6 +528,7 @@
|
|||
"$eq" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -525,6 +552,7 @@
|
|||
"$lte" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -548,6 +576,7 @@
|
|||
"$gte" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -580,6 +609,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -616,10 +646,12 @@
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -654,10 +686,12 @@
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -692,10 +726,12 @@
|
|||
"multiKeyPaths" : {
|
||||
"a" : [ ]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -717,6 +753,7 @@
|
|||
"$eq" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -740,6 +777,7 @@
|
|||
"$lte" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -763,6 +801,7 @@
|
|||
"$gte" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -795,6 +834,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -828,8 +868,10 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -863,8 +905,10 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -898,8 +942,10 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -924,6 +970,7 @@
|
|||
"$eq" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -947,6 +994,7 @@
|
|||
"$lte" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -970,6 +1018,7 @@
|
|||
"$gte" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -1002,6 +1051,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -1025,6 +1075,7 @@
|
|||
"$gt" : { "$minKey" : 1 }
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -1048,6 +1099,7 @@
|
|||
"$lt" : { "$maxKey" : 1 }
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -1080,6 +1132,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -1129,10 +1182,12 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -1164,10 +1219,12 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -1199,10 +1256,12 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -1234,10 +1293,12 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -1269,10 +1330,12 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -1304,10 +1367,12 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -1330,6 +1395,7 @@
|
|||
"$eq" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -1353,6 +1419,7 @@
|
|||
"$lte" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -1376,6 +1443,7 @@
|
|||
"$gte" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -1408,6 +1476,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -1431,6 +1500,7 @@
|
|||
"$gt" : { "$minKey" : 1 }
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -1454,6 +1524,7 @@
|
|||
"$lt" : { "$maxKey" : 1 }
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -1486,6 +1557,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -1509,6 +1581,7 @@
|
|||
"$eq" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -1532,6 +1605,7 @@
|
|||
"$lte" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -1555,6 +1629,7 @@
|
|||
"$gte" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -1587,6 +1662,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -1620,10 +1696,12 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -1655,10 +1733,12 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -1690,10 +1770,12 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -1730,8 +1812,10 @@
|
|||
"keyPattern" : {
|
||||
"a" : "hashed"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -1753,6 +1837,7 @@
|
|||
"$lte" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -1776,6 +1861,7 @@
|
|||
"$gte" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -1808,6 +1894,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -1831,6 +1918,7 @@
|
|||
"$gt" : { "$minKey" : 1 }
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -1854,6 +1942,7 @@
|
|||
"$lt" : { "$maxKey" : 1 }
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -1886,6 +1975,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -1935,8 +2025,10 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -1970,8 +2062,10 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2005,8 +2099,10 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2040,8 +2136,10 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2075,8 +2173,10 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2110,8 +2210,10 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2136,6 +2238,7 @@
|
|||
"$eq" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2159,6 +2262,7 @@
|
|||
"$lte" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2182,6 +2286,7 @@
|
|||
"$gte" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2214,6 +2319,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2237,6 +2343,7 @@
|
|||
"$gt" : { "$minKey" : 1 }
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2260,6 +2367,7 @@
|
|||
"$lt" : { "$maxKey" : 1 }
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2292,6 +2400,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2315,6 +2424,7 @@
|
|||
"$eq" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2338,6 +2448,7 @@
|
|||
"$lte" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2361,6 +2472,7 @@
|
|||
"$gte" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2393,6 +2505,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2426,8 +2539,10 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2461,8 +2576,10 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2496,8 +2613,10 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2522,6 +2641,7 @@
|
|||
"$eq" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2545,6 +2665,7 @@
|
|||
"$lte" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2568,6 +2689,7 @@
|
|||
"$gte" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2600,6 +2722,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2623,6 +2746,7 @@
|
|||
"$gt" : { "$minKey" : 1 }
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2646,6 +2770,7 @@
|
|||
"$lt" : { "$maxKey" : 1 }
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2678,6 +2803,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2727,10 +2853,12 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -2762,10 +2890,12 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -2797,10 +2927,12 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -2832,10 +2964,12 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -2867,10 +3001,12 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -2902,10 +3038,12 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -2928,6 +3066,7 @@
|
|||
"$eq" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2951,6 +3090,7 @@
|
|||
"$lte" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -2974,6 +3114,7 @@
|
|||
"$gte" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -3006,6 +3147,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -3029,6 +3171,7 @@
|
|||
"$gt" : { "$minKey" : 1 }
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -3052,6 +3195,7 @@
|
|||
"$lt" : { "$maxKey" : 1 }
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -3084,6 +3228,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -3107,6 +3252,7 @@
|
|||
"$eq" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -3130,6 +3276,7 @@
|
|||
"$lte" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -3153,6 +3300,7 @@
|
|||
"$gte" : "a"
|
||||
}
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -3185,6 +3333,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "COLLSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
|
|
@ -3218,10 +3367,12 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -3253,10 +3404,12 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
@ -3288,10 +3441,12 @@
|
|||
"keyPattern" : {
|
||||
"_id" : 1
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "IXSCAN"
|
||||
},
|
||||
"stage" : "SHARDING_FILTER"
|
||||
},
|
||||
"nss" : "test.sharded_find_with_collation",
|
||||
"stage" : "FETCH"
|
||||
}
|
||||
```
|
||||
|
|
|
|||
|
|
@ -53,12 +53,17 @@ CollectionIndexUsageTracker::CollectionIndexUsageTracker(
|
|||
}
|
||||
|
||||
void CollectionIndexUsageTracker::recordIndexAccess(StringData indexName) const {
|
||||
invariant(!indexName.empty());
|
||||
tassert(11122205,
|
||||
"CollectionIndexUsageTracker::recordIndexAccess invoked with an empty indexname",
|
||||
!indexName.empty());
|
||||
|
||||
auto it = _indexUsageStatsMap.find(indexName);
|
||||
|
||||
// The index is guaranteed to be tracked
|
||||
invariant(it != _indexUsageStatsMap.end());
|
||||
tassert(11122206,
|
||||
str::stream() << "Index '" << indexName
|
||||
<< "' is not registered in CollectionIndexUsageTracker",
|
||||
it != _indexUsageStatsMap.end());
|
||||
|
||||
_aggregatedIndexUsageTracker->onAccess(it->second->features);
|
||||
|
||||
|
|
@ -78,18 +83,26 @@ void CollectionIndexUsageTracker::recordCollectionScansNonTailable(
|
|||
void CollectionIndexUsageTracker::registerIndex(StringData indexName,
|
||||
const BSONObj& indexKey,
|
||||
const IndexFeatures& features) {
|
||||
invariant(!indexName.empty());
|
||||
tassert(11122207,
|
||||
"CollectionIndexUsageTracker::registerIndex invoked with an empty indexname",
|
||||
!indexName.empty());
|
||||
|
||||
// Create the map entry.
|
||||
auto inserted = _indexUsageStatsMap.try_emplace(
|
||||
indexName, make_intrusive<IndexUsageStats>(_clockSource->now(), indexKey, features));
|
||||
invariant(inserted.second);
|
||||
tassert(11122208,
|
||||
str::stream()
|
||||
<< "CollectionIndexUsageTracker::registerIndex has already been invoked for index '"
|
||||
<< indexName << "'",
|
||||
inserted.second);
|
||||
|
||||
_aggregatedIndexUsageTracker->onRegister(inserted.first->second->features);
|
||||
}
|
||||
|
||||
void CollectionIndexUsageTracker::unregisterIndex(StringData indexName) {
|
||||
invariant(!indexName.empty());
|
||||
tassert(11122209,
|
||||
"CollectionIndexUsageTracker::unregisterIndex invoked with an empty indexname",
|
||||
!indexName.empty());
|
||||
|
||||
auto it = _indexUsageStatsMap.find(indexName);
|
||||
// Only finished/ready indexes are tracked and this function may be called for an unfinished
|
||||
|
|
|
|||
|
|
@ -403,8 +403,6 @@ ReorderedJoinSolution constructSolutionWithRandomOrder(
|
|||
std::make_unique<IndexProbeNode>(currentNode.collectionName,
|
||||
std::move(indexEntry.value())),
|
||||
currentNode.collectionName);
|
||||
// TODO SERVER-111222: Write an end-to-end test exercising this codepath, once we
|
||||
// can lower INLJ nodes to SBE.
|
||||
if (auto matchExpr = currentNode.accessPath->getPrimaryMatchExpression();
|
||||
matchExpr != nullptr && !matchExpr->isTriviallyTrue()) {
|
||||
rhs->filter = matchExpr->clone();
|
||||
|
|
|
|||
|
|
@ -35,10 +35,8 @@
|
|||
#include "mongo/bson/util/builder_fwd.h"
|
||||
#include "mongo/db/exec/document_value/value.h"
|
||||
#include "mongo/db/field_ref.h"
|
||||
#include "mongo/db/index/multikey_paths.h"
|
||||
#include "mongo/db/index_names.h"
|
||||
#include "mongo/db/keypattern.h"
|
||||
#include "mongo/db/matcher/expression_algo.h"
|
||||
#include "mongo/db/matcher/expression_geo.h"
|
||||
#include "mongo/db/namespace_string.h"
|
||||
#include "mongo/db/query/collation/collation_index_key.h"
|
||||
|
|
@ -125,11 +123,45 @@ void getAllSecondaryNamespacesHelper(const QuerySolutionNode* qsn,
|
|||
return;
|
||||
}
|
||||
|
||||
if (auto eqLookupNode = dynamic_cast<const EqLookupNode*>(qsn)) {
|
||||
NamespaceString nss(eqLookupNode->foreignCollection);
|
||||
if (nss != mainNss) {
|
||||
secondaryNssSet.emplace(std::move(nss));
|
||||
}
|
||||
if (auto node = dynamic_cast<const EqLookupNode*>(qsn);
|
||||
node && node->foreignCollection != mainNss) {
|
||||
secondaryNssSet.emplace(node->foreignCollection);
|
||||
}
|
||||
|
||||
if (auto node = dynamic_cast<const IndexScanNode*>(qsn); node && node->nss != mainNss) {
|
||||
secondaryNssSet.emplace(node->nss);
|
||||
}
|
||||
|
||||
if (auto node = dynamic_cast<const FetchNode*>(qsn); node && node->nss != mainNss) {
|
||||
secondaryNssSet.emplace(node->nss);
|
||||
}
|
||||
|
||||
if (auto node = dynamic_cast<const CollectionScanNode*>(qsn); node && node->nss != mainNss) {
|
||||
secondaryNssSet.emplace(node->nss);
|
||||
}
|
||||
|
||||
if (auto node = dynamic_cast<const CountScanNode*>(qsn); node && node->nss != mainNss) {
|
||||
secondaryNssSet.emplace(node->nss);
|
||||
}
|
||||
|
||||
if (auto node = dynamic_cast<const DistinctNode*>(qsn); node && node->nss != mainNss) {
|
||||
secondaryNssSet.emplace(node->nss);
|
||||
}
|
||||
|
||||
if (auto node = dynamic_cast<const TextMatchNode*>(qsn); node && node->nss != mainNss) {
|
||||
secondaryNssSet.emplace(node->nss);
|
||||
}
|
||||
|
||||
if (auto node = dynamic_cast<const SearchNode*>(qsn); node && node->nss != mainNss) {
|
||||
secondaryNssSet.emplace(node->nss);
|
||||
}
|
||||
|
||||
if (auto node = dynamic_cast<const GeoNear2DNode*>(qsn); node && node->nss != mainNss) {
|
||||
secondaryNssSet.emplace(node->nss);
|
||||
}
|
||||
|
||||
if (auto node = dynamic_cast<const GeoNear2DSphereNode*>(qsn); node && node->nss != mainNss) {
|
||||
secondaryNssSet.emplace(node->nss);
|
||||
}
|
||||
|
||||
for (auto&& child : qsn->children) {
|
||||
|
|
@ -660,6 +692,8 @@ std::unique_ptr<QuerySolutionNode> MergeSortNode::clone() const {
|
|||
void FetchNode::appendToString(str::stream* ss, int indent) const {
|
||||
addIndent(ss, indent);
|
||||
*ss << "FETCH\n";
|
||||
addIndent(ss, indent + 1);
|
||||
*ss << "ns = " << toStringForLogging(nss) << '\n';
|
||||
if (nullptr != filter) {
|
||||
addIndent(ss, indent + 1);
|
||||
StringBuilder sb;
|
||||
|
|
@ -695,6 +729,8 @@ void IndexScanNode::appendToString(str::stream* ss, int indent) const {
|
|||
addIndent(ss, indent);
|
||||
*ss << "IXSCAN\n";
|
||||
addIndent(ss, indent + 1);
|
||||
*ss << "ns = " << toStringForLogging(nss) << '\n';
|
||||
addIndent(ss, indent + 1);
|
||||
*ss << "indexName = " << index.identifier.catalogName << '\n';
|
||||
addIndent(ss, indent + 1);
|
||||
*ss << "keyPattern = " << index.keyPattern << '\n';
|
||||
|
|
|
|||
|
|
@ -572,8 +572,6 @@ struct CollectionScanNode : public QuerySolutionNodeWithSortSet {
|
|||
eligibleForPlanCache = false;
|
||||
}
|
||||
|
||||
IndexBounds getIndexBounds() const;
|
||||
|
||||
std::unique_ptr<QuerySolutionNode> clone() const final;
|
||||
|
||||
// Name of the namespace.
|
||||
|
|
|
|||
|
|
@ -147,6 +147,8 @@ StringData nodeStageTypeToString(const QuerySolutionNode* node) {
|
|||
return "NESTED_LOOP_JOIN_EMBEDDING"_sd;
|
||||
case STAGE_INDEXED_NESTED_LOOP_JOIN_EMBEDDING_NODE:
|
||||
return "INDEXED_NESTED_LOOP_JOIN_EMBEDDING"_sd;
|
||||
case STAGE_INDEX_PROBE_NODE:
|
||||
return "INDEX_PROBE_NODE"_sd;
|
||||
default:
|
||||
return "UNKNOWN"_sd;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -330,6 +330,11 @@ void statsToBSON(const stage_builder::PlanStageToQsnMap& planStageQsnMap,
|
|||
}
|
||||
} else if (STAGE_COLLSCAN == stats.stageType) {
|
||||
CollectionScanStats* spec = static_cast<CollectionScanStats*>(stats.specific.get());
|
||||
if (auto qsnNode = dynamic_cast<const CollectionScanNode*>(querySolutionNode); qsnNode) {
|
||||
bob->append(
|
||||
"nss",
|
||||
NamespaceStringUtil::serialize(qsnNode->nss, SerializationContext::stateDefault()));
|
||||
}
|
||||
bob->append("direction", spec->direction > 0 ? "forward" : "backward");
|
||||
if (spec->minRecord) {
|
||||
spec->minRecord->appendToBSONAs(bob, "minRecord");
|
||||
|
|
@ -354,6 +359,11 @@ void statsToBSON(const stage_builder::PlanStageToQsnMap& planStageQsnMap,
|
|||
bob->appendNumber("keysExamined", static_cast<long long>(spec->keysExamined));
|
||||
}
|
||||
|
||||
if (auto qsnNode = dynamic_cast<const CountScanNode*>(querySolutionNode); qsnNode) {
|
||||
bob->append(
|
||||
"nss",
|
||||
NamespaceStringUtil::serialize(qsnNode->nss, SerializationContext::stateDefault()));
|
||||
}
|
||||
bob->append("keyPattern", spec->keyPattern);
|
||||
bob->append("indexName", spec->indexName);
|
||||
if (!spec->collation.isEmpty()) {
|
||||
|
|
@ -424,6 +434,11 @@ void statsToBSON(const stage_builder::PlanStageToQsnMap& planStageQsnMap,
|
|||
}
|
||||
} else if (STAGE_FETCH == stats.stageType) {
|
||||
FetchStats* spec = static_cast<FetchStats*>(stats.specific.get());
|
||||
if (auto qsnNode = dynamic_cast<const FetchNode*>(querySolutionNode); qsnNode) {
|
||||
bob->append(
|
||||
"nss",
|
||||
NamespaceStringUtil::serialize(qsnNode->nss, SerializationContext::stateDefault()));
|
||||
}
|
||||
if (verbosity >= ExplainOptions::Verbosity::kExecStats) {
|
||||
bob->appendNumber("docsExamined", static_cast<long long>(spec->docsExamined));
|
||||
bob->appendNumber("alreadyHasObj", static_cast<long long>(spec->alreadyHasObj));
|
||||
|
|
@ -431,6 +446,16 @@ void statsToBSON(const stage_builder::PlanStageToQsnMap& planStageQsnMap,
|
|||
} else if (STAGE_GEO_NEAR_2D == stats.stageType || STAGE_GEO_NEAR_2DSPHERE == stats.stageType) {
|
||||
NearStats* spec = static_cast<NearStats*>(stats.specific.get());
|
||||
|
||||
if (auto qsnNode = dynamic_cast<const GeoNear2DNode*>(querySolutionNode); qsnNode) {
|
||||
bob->append(
|
||||
"nss",
|
||||
NamespaceStringUtil::serialize(qsnNode->nss, SerializationContext::stateDefault()));
|
||||
} else if (auto qsnNode = dynamic_cast<const GeoNear2DSphereNode*>(querySolutionNode);
|
||||
qsnNode) {
|
||||
bob->append(
|
||||
"nss",
|
||||
NamespaceStringUtil::serialize(qsnNode->nss, SerializationContext::stateDefault()));
|
||||
}
|
||||
bob->append("keyPattern", spec->keyPattern);
|
||||
bob->append("indexName", spec->indexName);
|
||||
bob->append("indexVersion", spec->indexVersion);
|
||||
|
|
@ -467,6 +492,11 @@ void statsToBSON(const stage_builder::PlanStageToQsnMap& planStageQsnMap,
|
|||
} else if (STAGE_IXSCAN == stats.stageType) {
|
||||
IndexScanStats* spec = static_cast<IndexScanStats*>(stats.specific.get());
|
||||
|
||||
if (auto qsnNode = dynamic_cast<const IndexScanNode*>(querySolutionNode); qsnNode) {
|
||||
bob->append(
|
||||
"nss",
|
||||
NamespaceStringUtil::serialize(qsnNode->nss, SerializationContext::stateDefault()));
|
||||
}
|
||||
bob->append("keyPattern", spec->keyPattern);
|
||||
bob->append("indexName", spec->indexName);
|
||||
if (!spec->collation.isEmpty()) {
|
||||
|
|
@ -584,6 +614,11 @@ void statsToBSON(const stage_builder::PlanStageToQsnMap& planStageQsnMap,
|
|||
} else if (STAGE_TEXT_MATCH == stats.stageType) {
|
||||
TextMatchStats* spec = static_cast<TextMatchStats*>(stats.specific.get());
|
||||
|
||||
if (auto qsnNode = dynamic_cast<const TextMatchNode*>(querySolutionNode); qsnNode) {
|
||||
bob->append(
|
||||
"nss",
|
||||
NamespaceStringUtil::serialize(qsnNode->nss, SerializationContext::stateDefault()));
|
||||
}
|
||||
bob->append("indexPrefix", spec->indexPrefix);
|
||||
bob->append("indexName", spec->indexName);
|
||||
bob->append("parsedTextQuery", spec->parsedTextQuery);
|
||||
|
|
|
|||
|
|
@ -287,6 +287,9 @@ void statsToBSON(const QuerySolutionNode* node,
|
|||
switch (node->getType()) {
|
||||
case STAGE_COLLSCAN: {
|
||||
auto csn = static_cast<const CollectionScanNode*>(node);
|
||||
bob->append(
|
||||
"nss",
|
||||
NamespaceStringUtil::serialize(csn->nss, SerializationContext::stateDefault()));
|
||||
bob->append("direction", csn->direction > 0 ? "forward" : "backward");
|
||||
if (csn->minRecord) {
|
||||
csn->minRecord->appendToBSONAs(bob, "minRecord");
|
||||
|
|
@ -298,7 +301,9 @@ void statsToBSON(const QuerySolutionNode* node,
|
|||
}
|
||||
case STAGE_COUNT_SCAN: {
|
||||
auto csn = static_cast<const CountScanNode*>(node);
|
||||
|
||||
bob->append(
|
||||
"nss",
|
||||
NamespaceStringUtil::serialize(csn->nss, SerializationContext::stateDefault()));
|
||||
bob->append("keyPattern", csn->index.keyPattern);
|
||||
bob->append("indexName", csn->index.identifier.catalogName);
|
||||
auto collation =
|
||||
|
|
@ -326,6 +331,9 @@ void statsToBSON(const QuerySolutionNode* node,
|
|||
}
|
||||
case STAGE_GEO_NEAR_2D: {
|
||||
auto geo2d = static_cast<const GeoNear2DNode*>(node);
|
||||
bob->append(
|
||||
"nss",
|
||||
NamespaceStringUtil::serialize(geo2d->nss, SerializationContext::stateDefault()));
|
||||
bob->append("keyPattern", geo2d->index.keyPattern);
|
||||
bob->append("indexName", geo2d->index.identifier.catalogName);
|
||||
bob->append("indexVersion", geo2d->index.version);
|
||||
|
|
@ -333,6 +341,9 @@ void statsToBSON(const QuerySolutionNode* node,
|
|||
}
|
||||
case STAGE_GEO_NEAR_2DSPHERE: {
|
||||
auto geo2dsphere = static_cast<const GeoNear2DSphereNode*>(node);
|
||||
bob->append("nss",
|
||||
NamespaceStringUtil::serialize(geo2dsphere->nss,
|
||||
SerializationContext::stateDefault()));
|
||||
bob->append("keyPattern", geo2dsphere->index.keyPattern);
|
||||
bob->append("indexName", geo2dsphere->index.identifier.catalogName);
|
||||
bob->append("indexVersion", geo2dsphere->index.version);
|
||||
|
|
@ -340,7 +351,9 @@ void statsToBSON(const QuerySolutionNode* node,
|
|||
}
|
||||
case STAGE_IXSCAN: {
|
||||
auto ixn = static_cast<const IndexScanNode*>(node);
|
||||
|
||||
bob->append(
|
||||
"nss",
|
||||
NamespaceStringUtil::serialize(ixn->nss, SerializationContext::stateDefault()));
|
||||
bob->append("keyPattern", ixn->index.keyPattern);
|
||||
bob->append("indexName", ixn->index.identifier.catalogName);
|
||||
auto collation =
|
||||
|
|
@ -404,7 +417,9 @@ void statsToBSON(const QuerySolutionNode* node,
|
|||
}
|
||||
case STAGE_TEXT_MATCH: {
|
||||
auto tn = static_cast<const TextMatchNode*>(node);
|
||||
|
||||
bob->append(
|
||||
"nss",
|
||||
NamespaceStringUtil::serialize(tn->nss, SerializationContext::stateDefault()));
|
||||
bob->append("indexPrefix", tn->indexPrefix);
|
||||
bob->append("indexName", tn->index.identifier.catalogName);
|
||||
auto ftsQuery = dynamic_cast<fts::FTSQueryImpl*>(tn->ftsQuery.get());
|
||||
|
|
@ -480,6 +495,9 @@ void statsToBSON(const QuerySolutionNode* node,
|
|||
}
|
||||
case STAGE_SEARCH: {
|
||||
auto sn = static_cast<const SearchNode*>(node);
|
||||
bob->append(
|
||||
"nss",
|
||||
NamespaceStringUtil::serialize(sn->nss, SerializationContext::stateDefault()));
|
||||
bob->append("isSearchMeta", sn->isSearchMeta);
|
||||
bob->appendNumber("remoteCursorId", static_cast<long long>(sn->remoteCursorId));
|
||||
bob->append("searchQuery", sn->searchQuery);
|
||||
|
|
@ -490,6 +508,13 @@ void statsToBSON(const QuerySolutionNode* node,
|
|||
bob->append("type", eof_node::typeStr(eofn->type));
|
||||
break;
|
||||
}
|
||||
case STAGE_FETCH: {
|
||||
auto fn = static_cast<const FetchNode*>(node);
|
||||
bob->append(
|
||||
"nss",
|
||||
NamespaceStringUtil::serialize(fn->nss, SerializationContext::stateDefault()));
|
||||
break;
|
||||
}
|
||||
case STAGE_HASH_JOIN_EMBEDDING_NODE:
|
||||
case STAGE_NESTED_LOOP_JOIN_EMBEDDING_NODE:
|
||||
case STAGE_INDEXED_NESTED_LOOP_JOIN_EMBEDDING_NODE: {
|
||||
|
|
@ -510,6 +535,28 @@ void statsToBSON(const QuerySolutionNode* node,
|
|||
}
|
||||
break;
|
||||
}
|
||||
case STAGE_INDEX_PROBE_NODE: {
|
||||
auto ipn = static_cast<const IndexProbeNode*>(node);
|
||||
bob->append(
|
||||
"nss",
|
||||
NamespaceStringUtil::serialize(ipn->nss, SerializationContext::stateDefault()));
|
||||
bob->append("keyPattern", ipn->index.keyPattern);
|
||||
bob->append("indexName", ipn->index.identifier.catalogName);
|
||||
auto collation =
|
||||
ipn->index.infoObj.getObjectField(IndexDescriptor::kCollationFieldName);
|
||||
if (!collation.isEmpty()) {
|
||||
bob->append("collation", collation);
|
||||
}
|
||||
bob->appendBool("isMultiKey", ipn->index.multikey);
|
||||
if (!ipn->index.multikeyPaths.empty()) {
|
||||
appendMultikeyPaths(ipn->index.keyPattern, ipn->index.multikeyPaths, bob);
|
||||
}
|
||||
bob->appendBool("isUnique", ipn->index.unique);
|
||||
bob->appendBool("isSparse", ipn->index.sparse);
|
||||
bob->appendBool("isPartial", ipn->index.filterExpr != nullptr);
|
||||
bob->append("indexVersion", static_cast<int>(ipn->index.version));
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -469,11 +469,13 @@ TEST_F(PlanExplainerTest, HashJoinEmbeddingTest) {
|
|||
{
|
||||
"stage": "COLLSCAN",
|
||||
"planNodeId": 0,
|
||||
"nss": "testdb.explain",
|
||||
"direction": "forward"
|
||||
},
|
||||
{
|
||||
"stage": "COLLSCAN",
|
||||
"planNodeId": 0,
|
||||
"nss": "testdb.foreign_explain",
|
||||
"direction": "forward"
|
||||
}
|
||||
]
|
||||
|
|
@ -512,11 +514,13 @@ TEST_F(PlanExplainerTest, NLJEmbeddingTest) {
|
|||
{
|
||||
"stage": "COLLSCAN",
|
||||
"planNodeId": 0,
|
||||
"nss": "testdb.explain",
|
||||
"direction": "forward"
|
||||
},
|
||||
{
|
||||
"stage": "COLLSCAN",
|
||||
"planNodeId": 0,
|
||||
"nss": "testdb.foreign_explain",
|
||||
"direction": "forward"
|
||||
}
|
||||
]
|
||||
|
|
@ -555,11 +559,13 @@ TEST_F(PlanExplainerTest, INLJEmbeddingTest) {
|
|||
{
|
||||
"stage": "COLLSCAN",
|
||||
"planNodeId": 0,
|
||||
"nss": "testdb.explain",
|
||||
"direction": "forward"
|
||||
},
|
||||
{
|
||||
"stage": "COLLSCAN",
|
||||
"planNodeId": 0,
|
||||
"nss": "testdb.foreign_explain",
|
||||
"direction": "forward"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -5085,6 +5085,8 @@ std::pair<SbStage, PlanStageSlots> SlotBasedStageBuilder::build(const QuerySolut
|
|||
{STAGE_NESTED_LOOP_JOIN_EMBEDDING_NODE,
|
||||
&SlotBasedStageBuilder::buildNestedLoopJoinEmbeddingNode},
|
||||
{STAGE_HASH_JOIN_EMBEDDING_NODE, &SlotBasedStageBuilder::buildHashJoinEmbeddingNode},
|
||||
{STAGE_INDEXED_NESTED_LOOP_JOIN_EMBEDDING_NODE,
|
||||
&SlotBasedStageBuilder::buildIndexedJoinEmbeddingNode},
|
||||
};
|
||||
|
||||
tassert(4822884,
|
||||
|
|
|
|||
|
|
@ -1088,6 +1088,9 @@ private:
|
|||
std::pair<SbStage, PlanStageSlots> buildHashJoinEmbeddingNode(const QuerySolutionNode* root,
|
||||
const PlanStageReqs& reqs);
|
||||
|
||||
std::pair<SbStage, PlanStageSlots> buildIndexedJoinEmbeddingNode(const QuerySolutionNode* root,
|
||||
const PlanStageReqs& reqs);
|
||||
|
||||
std::pair<SbStage, PlanStageSlots> buildUnpackTsBucket(const QuerySolutionNode* root,
|
||||
const PlanStageReqs& reqs);
|
||||
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@
|
|||
#include "mongo/db/query/query_knobs_gen.h"
|
||||
#include "mongo/db/query/stage_builder/sbe/abt/comparison_op.h"
|
||||
#include "mongo/db/query/stage_builder/sbe/builder.h"
|
||||
#include "mongo/db/query/stage_builder/sbe/gen_filter.h"
|
||||
#include "mongo/db/query/stage_builder/sbe/gen_helpers.h"
|
||||
#include "mongo/db/query/stage_builder/sbe/gen_projection.h"
|
||||
#include "mongo/db/query/stage_builder/sbe/sbexpr.h"
|
||||
|
|
@ -751,17 +752,15 @@ std::pair<SbSlot /* matched docs */, SbStage> buildNljLookupStage(
|
|||
return {matchedRecordsSlot, std::move(nlj)};
|
||||
}
|
||||
|
||||
|
||||
std::tuple<SbStage, SbSlot, SbSlot, SbSlotVector> buildIndexJoinLookupForeignSideStage(
|
||||
StageBuilderState& state,
|
||||
SbSlot localKeysSetSlot,
|
||||
const FieldPath& localFieldName,
|
||||
const FieldPath& foreignFieldName,
|
||||
const CollectionPtr& foreignColl,
|
||||
const IndexEntry& index,
|
||||
boost::optional<sbe::value::SlotId> collatorSlot,
|
||||
const PlanNodeId nodeId,
|
||||
bool hasUnwindSrc) {
|
||||
std::tuple<SbStage, SbSlot, SbSlot, std::vector<std::pair<std::string, SbSlot>>>
|
||||
buildIndexSeekStage(StageBuilderState& state,
|
||||
SbStage valueGeneratorStage,
|
||||
SbSlotVector valueForIndexBounds,
|
||||
std::vector<FieldPath> foreignFieldNames,
|
||||
const CollectionPtr& foreignColl,
|
||||
const IndexEntry& index,
|
||||
boost::optional<sbe::value::SlotId> collatorSlot,
|
||||
const PlanNodeId nodeId) {
|
||||
SbBuilder b(state, nodeId);
|
||||
|
||||
const auto foreignCollUUID = foreignColl->uuid();
|
||||
|
|
@ -777,45 +776,49 @@ std::tuple<SbStage, SbSlot, SbSlot, SbSlotVector> buildIndexJoinLookupForeignSid
|
|||
const auto indexVersion = indexAccessMethod->getSortedDataInterface()->getKeyStringVersion();
|
||||
const auto indexOrdering = indexAccessMethod->getSortedDataInterface()->getOrdering();
|
||||
|
||||
// Modify the set of values to lookup to include the first item of any array.
|
||||
auto [localKeysIndexSetSlot, localKeysSetStage] =
|
||||
buildKeySetForIndexScan(state, b.makeLimitOneCoScanTree(), localKeysSetSlot, nodeId);
|
||||
|
||||
// Unwind local keys one by one into 'valueForIndexBounds'.
|
||||
auto [valueGeneratorStage, valueForIndexBounds, _] = b.makeUnwind(
|
||||
std::move(localKeysSetStage), localKeysIndexSetSlot, true /*preserveNullAndEmptyArrays*/);
|
||||
|
||||
if (index.type == INDEX_HASHED) {
|
||||
// For hashed indexes, we need to hash the value before computing keystrings iff the
|
||||
// lookup's "foreignField" is the hashed field in this index.
|
||||
const BSONElement elt = index.keyPattern.getField(foreignFieldName.fullPath());
|
||||
if (elt.valueStringDataSafe() == IndexNames::HASHED) {
|
||||
|
||||
// For collated hashed indexes, apply collation before hashing.
|
||||
auto [outStage, outSlots] =
|
||||
b.makeProject(std::move(valueGeneratorStage),
|
||||
b.makeFunction("shardHash"_sd,
|
||||
collatorSlot ? b.makeFunction("collComparisonKey",
|
||||
valueForIndexBounds,
|
||||
SbSlot{*collatorSlot})
|
||||
: valueForIndexBounds));
|
||||
valueGeneratorStage = std::move(outStage);
|
||||
valueForIndexBounds = outSlots[0];
|
||||
for (size_t i = 0; i < foreignFieldNames.size(); i++) {
|
||||
// For hashed indexes, we need to hash the value before computing keystrings iff the
|
||||
// lookup's "foreignField" is the hashed field in this index.
|
||||
const BSONElement elt = index.keyPattern.getField(foreignFieldNames[i].fullPath());
|
||||
if (elt.valueStringDataSafe() == IndexNames::HASHED &&
|
||||
valueForIndexBounds[i].getId() != 0) {
|
||||
// For collated hashed indexes, apply collation before hashing.
|
||||
auto [outStage, outSlots] = b.makeProject(
|
||||
std::move(valueGeneratorStage),
|
||||
b.makeFunction("shardHash"_sd,
|
||||
collatorSlot ? b.makeFunction("collComparisonKey",
|
||||
valueForIndexBounds[i],
|
||||
SbSlot{*collatorSlot})
|
||||
: valueForIndexBounds[i]));
|
||||
valueGeneratorStage = std::move(outStage);
|
||||
valueForIndexBounds[i] = outSlots[0];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Calculate the low key and high key of each individual local field. They are stored in
|
||||
// 'lowKeySlot' and 'highKeySlot', respectively. These two slots will be made available in
|
||||
// the loop join stage to perform index seek.
|
||||
// the loop join stage to perform index seek. If the slot has not been initialized, use a
|
||||
// [MinKey, MaxKey] range.
|
||||
// TODO: SERVER-114883 support more complex index boundaries by using a GenericIndexScanStage
|
||||
// rather than a single SimpleIndexScanStage.
|
||||
auto makeNewKeyStringCall = [&](key_string::Discriminator discriminator) {
|
||||
StringData functionName = "ks";
|
||||
|
||||
SbExpr::Vector args =
|
||||
SbExpr::makeSeq(b.makeInt64Constant(static_cast<int64_t>(indexVersion)),
|
||||
b.makeInt32Constant(indexOrdering.getBits()),
|
||||
valueForIndexBounds,
|
||||
b.makeInt64Constant(static_cast<int64_t>(discriminator)));
|
||||
b.makeInt32Constant(indexOrdering.getBits()));
|
||||
for (size_t i = 0; i < valueForIndexBounds.size(); i++) {
|
||||
if (valueForIndexBounds[i].getId() == 0) {
|
||||
args.push_back(discriminator == key_string::Discriminator::kExclusiveBefore
|
||||
? b.makeConstant(sbe::value::TypeTags::MinKey, 0)
|
||||
: b.makeConstant(sbe::value::TypeTags::MaxKey, 0));
|
||||
} else {
|
||||
args.push_back(valueForIndexBounds[i]);
|
||||
}
|
||||
}
|
||||
args.push_back(b.makeInt64Constant(static_cast<int64_t>(discriminator)));
|
||||
|
||||
StringData functionName = "ks"_sd;
|
||||
if (collatorSlot) {
|
||||
functionName = "collKs";
|
||||
args.emplace_back(SbSlot{*collatorSlot});
|
||||
|
|
@ -881,9 +884,19 @@ std::tuple<SbStage, SbSlot, SbSlot, SbSlotVector> buildIndexJoinLookupForeignSid
|
|||
// stage on the inner side to get matched foreign documents. The foreign documents are
|
||||
// stored in 'foreignRecordSlot'. We also pass in 'snapshotIdSlot', 'indexIdentSlot',
|
||||
// 'indexKeySlot' and 'indexKeyPatternSlot' to perform index consistency check during the seek.
|
||||
auto [scanNljStage, scanNljValueSlot, scanNljRecordIdSlot, scanNljFieldSlots] =
|
||||
std::vector<std::string> topLevelFieldNames;
|
||||
std::vector<std::pair<std::string, SbSlot>> topLevelFields;
|
||||
StringSet dedupTopLevelFields;
|
||||
for (auto& foreignFieldName : foreignFieldNames) {
|
||||
auto topField = std::string(foreignFieldName.front());
|
||||
if (dedupTopLevelFields.insert(topField).second) {
|
||||
topLevelFields.emplace_back(topField, SbSlot{});
|
||||
topLevelFieldNames.push_back(std::move(topField));
|
||||
}
|
||||
}
|
||||
auto [scanNljStage, scanNljValueSlot, scanNljRecordIdSlot, scanNljForeignFieldTopLevelSlots] =
|
||||
makeLoopJoinForFetch(std::move(ixScanNljStage),
|
||||
std::vector<std::string>{std::string(foreignFieldName.front())},
|
||||
std::move(topLevelFieldNames),
|
||||
foreignRecordIdSlot,
|
||||
snapshotIdSlot,
|
||||
indexIdentSlot,
|
||||
|
|
@ -895,10 +908,48 @@ std::tuple<SbStage, SbSlot, SbSlot, SbSlotVector> buildIndexJoinLookupForeignSid
|
|||
nodeId,
|
||||
SbSlotVector{} /* slotsToForward */);
|
||||
|
||||
return {std::move(scanNljStage),
|
||||
scanNljValueSlot,
|
||||
scanNljRecordIdSlot,
|
||||
std::move(scanNljFieldSlots)};
|
||||
for (size_t i = 0; i < topLevelFields.size(); i++) {
|
||||
topLevelFields[i].second = std::move(scanNljForeignFieldTopLevelSlots[i]);
|
||||
}
|
||||
|
||||
return {
|
||||
std::move(scanNljStage), scanNljValueSlot, scanNljRecordIdSlot, std::move(topLevelFields)};
|
||||
}
|
||||
|
||||
std::tuple<SbStage, SbSlot, SbSlot, SbSlot> buildIndexJoinLookupForeignSideStage(
|
||||
StageBuilderState& state,
|
||||
SbSlot localKeysSetSlot,
|
||||
const FieldPath& localFieldName,
|
||||
const FieldPath& foreignFieldName,
|
||||
const CollectionPtr& foreignColl,
|
||||
const IndexEntry& index,
|
||||
boost::optional<sbe::value::SlotId> collatorSlot,
|
||||
const PlanNodeId nodeId,
|
||||
bool hasUnwindSrc) {
|
||||
SbBuilder b(state, nodeId);
|
||||
|
||||
// Modify the set of values to lookup to include the first item of any array.
|
||||
auto [localKeysIndexSetSlot, localKeysSetStage] =
|
||||
buildKeySetForIndexScan(state, b.makeLimitOneCoScanTree(), localKeysSetSlot, nodeId);
|
||||
|
||||
// Unwind local keys one by one into 'valueForIndexBounds'.
|
||||
auto [valueGeneratorStage, valueForIndexBounds, _] = b.makeUnwind(
|
||||
std::move(localKeysSetStage), localKeysIndexSetSlot, true /*preserveNullAndEmptyArrays*/);
|
||||
|
||||
auto [stage, valueSlot, recordIdSlot, foreignFieldTopLevelSlots] =
|
||||
buildIndexSeekStage(state,
|
||||
std::move(valueGeneratorStage),
|
||||
{valueForIndexBounds},
|
||||
{foreignFieldName},
|
||||
foreignColl,
|
||||
index,
|
||||
collatorSlot,
|
||||
nodeId);
|
||||
|
||||
return {std::move(stage),
|
||||
std::move(valueSlot),
|
||||
std::move(recordIdSlot),
|
||||
std::move(foreignFieldTopLevelSlots[0].second)};
|
||||
} // buildIndexJoinLookupForeignSideStage
|
||||
|
||||
/*
|
||||
|
|
@ -943,7 +994,7 @@ std::pair<SbSlot, SbStage> buildIndexJoinLookupStage(
|
|||
state, std::move(localStage), slots, localFieldName, collatorSlot, nodeId);
|
||||
|
||||
// Build the inner branch that produces the correlated foreign key slot.
|
||||
auto [scanNljStage, foreignRecordSlot, _, scanFieldSlots] =
|
||||
auto [scanNljStage, foreignRecordSlot, _, foreignFieldTopLevelSlot] =
|
||||
buildIndexJoinLookupForeignSideStage(state,
|
||||
localKeysSetSlot,
|
||||
localFieldName,
|
||||
|
|
@ -962,7 +1013,7 @@ std::pair<SbSlot, SbStage> buildIndexJoinLookupStage(
|
|||
std::move(scanNljStage),
|
||||
foreignRecordSlot,
|
||||
foreignFieldName,
|
||||
scanFieldSlots[0],
|
||||
foreignFieldTopLevelSlot,
|
||||
nodeId,
|
||||
state,
|
||||
hasUnwindSrc);
|
||||
|
|
@ -1036,21 +1087,22 @@ std::pair<SbSlot, SbStage> buildDynamicIndexedLoopJoinLookupStage(
|
|||
auto [indexLookupBranchStage,
|
||||
indexLookupBranchResultSlot,
|
||||
indexLookupBranchRecordIdSlot,
|
||||
indexLookupBranchScanSlots] = buildIndexJoinLookupForeignSideStage(state,
|
||||
localKeysSetSlot,
|
||||
localFieldName,
|
||||
foreignFieldName,
|
||||
foreignColl,
|
||||
index,
|
||||
collatorSlot,
|
||||
nodeId,
|
||||
hasUnwindSrc);
|
||||
indexLookupBranchForeignFieldTopLevelSlot] =
|
||||
buildIndexJoinLookupForeignSideStage(state,
|
||||
localKeysSetSlot,
|
||||
localFieldName,
|
||||
foreignFieldName,
|
||||
foreignColl,
|
||||
index,
|
||||
collatorSlot,
|
||||
nodeId,
|
||||
hasUnwindSrc);
|
||||
|
||||
// Build the nested loop branch.
|
||||
auto [nestedLoopBranchStage,
|
||||
nestedLoopBranchResultSlot,
|
||||
nestedLoopBranchRecordIdSlot,
|
||||
nestedLoopBranchScanSlots] =
|
||||
nestedLoopBranchForeignFieldTopLevelSlots] =
|
||||
b.makeScan(foreignColl->uuid(),
|
||||
foreignColl->ns().dbName(),
|
||||
forwardScanDirection,
|
||||
|
|
@ -1071,15 +1123,16 @@ std::pair<SbSlot, SbStage> buildDynamicIndexedLoopJoinLookupStage(
|
|||
b.makeBoolConstant(false) /*compareArray*/));
|
||||
|
||||
// Create a branch stage
|
||||
auto [branchStage, branchSlots] = b.makeBranch(std::move(indexLookupBranchStage),
|
||||
std::move(nestedLoopBranchStage),
|
||||
std::move(filter),
|
||||
SbExpr::makeSV(indexLookupBranchResultSlot,
|
||||
indexLookupBranchRecordIdSlot,
|
||||
indexLookupBranchScanSlots[0]),
|
||||
SbExpr::makeSV(nestedLoopBranchResultSlot,
|
||||
nestedLoopBranchRecordIdSlot,
|
||||
nestedLoopBranchScanSlots[0]));
|
||||
auto [branchStage, branchSlots] =
|
||||
b.makeBranch(std::move(indexLookupBranchStage),
|
||||
std::move(nestedLoopBranchStage),
|
||||
std::move(filter),
|
||||
SbExpr::makeSV(indexLookupBranchResultSlot,
|
||||
indexLookupBranchRecordIdSlot,
|
||||
indexLookupBranchForeignFieldTopLevelSlot),
|
||||
SbExpr::makeSV(nestedLoopBranchResultSlot,
|
||||
nestedLoopBranchRecordIdSlot,
|
||||
nestedLoopBranchForeignFieldTopLevelSlots[0]));
|
||||
|
||||
SbSlot resultSlot = branchSlots[0];
|
||||
auto [finalForeignSlot, finalForeignStage] = buildForeignMatches(localKeysSetSlot,
|
||||
|
|
@ -1484,11 +1537,6 @@ std::pair<SbStage, PlanStageSlots> SlotBasedStageBuilder::buildEqLookupUnwind(
|
|||
} // buildEqLookupUnwind
|
||||
|
||||
namespace {
|
||||
PlanStageReqs makeReqsForRightSideOfNestedLoopJoin(
|
||||
const QuerySolutionNode* root, std::vector<PlanStageReqs::OwnedSlotName> fieldRequests) {
|
||||
return PlanStageReqs{}.setResultObj().set(std::move(fieldRequests));
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates an expression for evaluating a path that takes the value found at the first path
|
||||
* component and returns a single value from evaluating the remaining path components. The
|
||||
|
|
@ -1793,8 +1841,7 @@ std::pair<SbStage, PlanStageSlots> SlotBasedStageBuilder::buildNestedLoopJoinEmb
|
|||
auto [leftStage, leftOutputs] =
|
||||
build(nestedLoopJoinEmbeddingNode->children[0].get(), leftChildReqs);
|
||||
|
||||
PlanStageReqs rightChildReqs = makeReqsForRightSideOfNestedLoopJoin(
|
||||
nestedLoopJoinEmbeddingNode->children[1].get(), std::move(rightRequests));
|
||||
PlanStageReqs rightChildReqs = PlanStageReqs{}.setResultObj().set(std::move(rightRequests));
|
||||
auto [rightStage, rightOutputs] =
|
||||
build(nestedLoopJoinEmbeddingNode->children[1].get(), rightChildReqs);
|
||||
|
||||
|
|
@ -1907,8 +1954,7 @@ std::pair<SbStage, PlanStageSlots> SlotBasedStageBuilder::buildHashJoinEmbedding
|
|||
.set(std::move(leftRequests));
|
||||
auto [leftStage, leftOutputs] = build(hashJoinEmbeddingNode->children[0].get(), leftChildReqs);
|
||||
|
||||
PlanStageReqs rightChildReqs = makeReqsForRightSideOfNestedLoopJoin(
|
||||
hashJoinEmbeddingNode->children[1].get(), std::move(rightRequests));
|
||||
PlanStageReqs rightChildReqs = PlanStageReqs{}.setResultObj().set(std::move(rightRequests));
|
||||
auto [rightStage, rightOutputs] =
|
||||
build(hashJoinEmbeddingNode->children[1].get(), rightChildReqs);
|
||||
|
||||
|
|
@ -1961,4 +2007,165 @@ std::pair<SbStage, PlanStageSlots> SlotBasedStageBuilder::buildHashJoinEmbedding
|
|||
_state);
|
||||
}
|
||||
|
||||
/**
|
||||
* Build an equijoin operation according to the input STAGE_INDEXED_NESTED_LOOP_JOIN_EMBEDDING_NODE
|
||||
* plan. This style of join is simpler than general-purpose $lookup joins, because it only supports
|
||||
* equality predicates with path operands that never implicitly traverse an array.
|
||||
*/
|
||||
std::pair<SbStage, PlanStageSlots> SlotBasedStageBuilder::buildIndexedJoinEmbeddingNode(
|
||||
const QuerySolutionNode* root, const PlanStageReqs& reqs) {
|
||||
tassert(
|
||||
11122200, "buildIndexedJoinEmbeddingNode() does not support kSortKey", !reqs.hasSortKeys());
|
||||
|
||||
SbBuilder b(_state, root->nodeId());
|
||||
|
||||
auto indexedJoinEmbeddingNode = static_cast<const IndexedNestedLoopJoinEmbeddingNode*>(root);
|
||||
|
||||
auto [leftRequests, rightRequests] =
|
||||
collectRequestedFields(indexedJoinEmbeddingNode, reqs, _qsnAnalysis);
|
||||
|
||||
auto& fieldEffect = _qsnAnalysis.getQsnInfo(root).effects;
|
||||
tassert(11122201, "Expected field effect set to be computed", fieldEffect);
|
||||
|
||||
// Recursively build the executable plan for the left side of the join.
|
||||
PlanStageReqs leftChildReqs =
|
||||
PlanStageReqs{}
|
||||
.setResultInfo(FieldSet::makeOpenSet(std::vector<std::string>{}), FieldEffects())
|
||||
.set(std::move(leftRequests));
|
||||
auto [leftStage, leftOutputs] =
|
||||
build(indexedJoinEmbeddingNode->children[0].get(), leftChildReqs);
|
||||
|
||||
// Don't use recursion to build the index scan on the right side of the join, we have to
|
||||
// manually inject the predicate.
|
||||
auto indexFetch = dynamic_cast<FetchNode*>(indexedJoinEmbeddingNode->children[1].get());
|
||||
tassert(11122202,
|
||||
"Right child in buildIndexedJoinEmbeddingNode() must be an FetchNode",
|
||||
indexFetch != nullptr);
|
||||
auto indexProbe = dynamic_cast<IndexProbeNode*>(indexFetch->children[0].get());
|
||||
tassert(11122203,
|
||||
"Right grandchild in buildIndexedJoinEmbeddingNode() must be an IndexProbeNode",
|
||||
indexProbe != nullptr);
|
||||
|
||||
const auto foreignColl = _collections.lookupCollection(indexProbe->nss);
|
||||
tassert(ErrorCodes::NamespaceNotFound,
|
||||
str::stream() << "Collection " << indexProbe->nss.toStringForErrorMsg()
|
||||
<< " has been dropped",
|
||||
foreignColl);
|
||||
tassert(ErrorCodes::NamespaceNotFound,
|
||||
str::stream() << "Collection " << indexProbe->nss.toStringForErrorMsg()
|
||||
<< " has been renamed",
|
||||
foreignColl->ns() == indexProbe->nss);
|
||||
|
||||
// Populate a map assigning to each key component its position in the key pattern, we can't be
|
||||
// sure that the paths from the right sides of the predicates are in the order used in the index
|
||||
// definition.
|
||||
StringMap<size_t> indexKeyPos;
|
||||
size_t pos = 0;
|
||||
for (auto& key : indexProbe->index.keyPattern) {
|
||||
indexKeyPos[std::string(key.fieldNameStringData())] = pos++;
|
||||
}
|
||||
SbExprOptSlotVector leftPrj;
|
||||
std::vector<FieldPath> foreignPaths;
|
||||
StringSet dedupForeignPaths;
|
||||
for (const auto& predicate : indexedJoinEmbeddingNode->joinPredicates) {
|
||||
tassert(11122204,
|
||||
"Unknown operation in join predicate",
|
||||
predicate.op == QSNJoinPredicate::ComparisonOp::Eq);
|
||||
|
||||
// Create an expression for the left side of the predicate, and add it to a ProjectStage
|
||||
// to be placed on top of the source stages. Any path that fails to evaluate, because of a
|
||||
// missing or non-object path component, gets treated as if it evaluated to a null value for
|
||||
// the purposes of this comparison. This behavior matches MQL localField/foreignField
|
||||
// $lookup semantics.
|
||||
leftPrj.emplace_back(b.makeFillEmptyNull(generateArrayObliviousPathEvaluation(
|
||||
b, predicate.leftField, leftOutputs)),
|
||||
boost::none);
|
||||
if (dedupForeignPaths.emplace(predicate.rightField.fullPath()).second) {
|
||||
foreignPaths.push_back(predicate.rightField);
|
||||
}
|
||||
}
|
||||
// Ensure that the FetchStage on top of the found entries exports the fields that we require
|
||||
// from this side.
|
||||
for (auto& [type, name] : rightRequests) {
|
||||
if (type == PlanStageSlots::SlotType::kField) {
|
||||
if (dedupForeignPaths.emplace(name).second) {
|
||||
foreignPaths.push_back(name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Project the computed predicates from the left side.
|
||||
auto [leftPrjStage, leftPrjOutputs] =
|
||||
b.makeProject(b.makeLimitOneCoScanTree(), std::move(leftPrj));
|
||||
|
||||
// Associate the predicates from the left side of the predicate to the position of the right
|
||||
// side in the key pattern. If an index column is not used in a predicate, it will be left
|
||||
// assigned to slot 0, and the buildIndexSeekStage will insert a [MinKey,MaxKey] bound for it.
|
||||
SbSlotVector keyParts;
|
||||
keyParts.resize(indexProbe->index.keyPattern.nFields());
|
||||
for (size_t predicateIndex = 0;
|
||||
predicateIndex < indexedJoinEmbeddingNode->joinPredicates.size();
|
||||
predicateIndex++) {
|
||||
if (auto it = indexKeyPos.find(
|
||||
indexedJoinEmbeddingNode->joinPredicates[predicateIndex].rightField.fullPath());
|
||||
it != indexKeyPos.end()) {
|
||||
keyParts[it->second] = leftPrjOutputs[predicateIndex++];
|
||||
}
|
||||
}
|
||||
|
||||
auto [outStage, outputDocSlot, _, topLevelFieldSlots] =
|
||||
buildIndexSeekStage(_state,
|
||||
std::move(leftPrjStage),
|
||||
keyParts,
|
||||
foreignPaths,
|
||||
foreignColl,
|
||||
indexProbe->index,
|
||||
_state.getCollatorSlot(),
|
||||
indexFetch->nodeId());
|
||||
|
||||
PlanStageSlots rightOutputs;
|
||||
rightOutputs.setResultObj(outputDocSlot);
|
||||
for (auto& [topLevelField, slot] : topLevelFieldSlots) {
|
||||
rightOutputs.set(std::make_pair(PlanStageSlots::SlotType::kField, topLevelField), slot);
|
||||
}
|
||||
|
||||
if (indexFetch->filter) {
|
||||
auto filterExpr =
|
||||
generateFilter(_state, indexFetch->filter.get(), outputDocSlot, rightOutputs);
|
||||
if (!filterExpr.isNull()) {
|
||||
outStage = b.makeFilter(std::move(outStage), std::move(filterExpr));
|
||||
}
|
||||
}
|
||||
|
||||
// Create a filter based on the join predicate in order to handle cases where index bounds are
|
||||
// inexact.
|
||||
SbExpr::Vector equalityPredicates;
|
||||
equalityPredicates.reserve(indexedJoinEmbeddingNode->joinPredicates.size());
|
||||
for (const auto& predicate : indexedJoinEmbeddingNode->joinPredicates) {
|
||||
equalityPredicates.emplace_back(b.makeBinaryOp(
|
||||
abt::Operations::Eq,
|
||||
b.makeFillEmptyNull(
|
||||
generateArrayObliviousPathEvaluation(b, predicate.leftField, leftOutputs)),
|
||||
b.makeFillEmptyNull(
|
||||
generateArrayObliviousPathEvaluation(b, predicate.rightField, rightOutputs))));
|
||||
}
|
||||
|
||||
// Finally, get the keys from the outer side and feed them to the inner side (ixscan).
|
||||
auto indexStage =
|
||||
b.makeLoopJoin(std::move(leftStage),
|
||||
std::move(outStage),
|
||||
leftOutputs.getAllSlotsInOrder() /* outerProjects */,
|
||||
leftOutputs.getAllSlotsInOrder() /* outerCorrelated */,
|
||||
{}, /* innerProjects */
|
||||
b.makeBooleanOpTree(abt::Operations::And, std::move(equalityPredicates)));
|
||||
|
||||
return generateJoinResult(indexedJoinEmbeddingNode,
|
||||
reqs,
|
||||
std::move(indexStage),
|
||||
leftOutputs,
|
||||
rightOutputs,
|
||||
*fieldEffect,
|
||||
_state);
|
||||
}
|
||||
|
||||
} // namespace mongo::stage_builder
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ INDEXED_NESTED_LOOP_JOIN
|
|||
---------providedSorts = {baseSortPattern: {}, ignoredFields: []}
|
||||
---Inner:
|
||||
------FETCH
|
||||
---------ns = test.a
|
||||
---------nodeId = 3
|
||||
---------fetched = 1
|
||||
---------sortedByDiskLoc = 0
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ INDEXED_NESTED_LOOP_JOIN
|
|||
---------providedSorts = {baseSortPattern: {}, ignoredFields: []}
|
||||
---Inner:
|
||||
------FETCH
|
||||
---------ns = test.b
|
||||
---------nodeId = 3
|
||||
---------fetched = 1
|
||||
---------sortedByDiskLoc = 0
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ INDEXED_NESTED_LOOP_JOIN
|
|||
---------providedSorts = {baseSortPattern: {}, ignoredFields: []}
|
||||
---Inner:
|
||||
------FETCH
|
||||
---------ns = test.b
|
||||
---------filter:
|
||||
b $gt 5
|
||||
---------nodeId = 3
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ INDEXED_NESTED_LOOP_JOIN
|
|||
---------providedSorts = {baseSortPattern: {}, ignoredFields: []}
|
||||
---Inner:
|
||||
------FETCH
|
||||
---------ns = test.b
|
||||
---------nodeId = 3
|
||||
---------fetched = 1
|
||||
---------sortedByDiskLoc = 0
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ INDEXED_NESTED_LOOP_JOIN
|
|||
---------------providedSorts = {baseSortPattern: {}, ignoredFields: []}
|
||||
---Inner:
|
||||
------FETCH
|
||||
---------ns = test.b
|
||||
---------nodeId = 5
|
||||
---------fetched = 1
|
||||
---------sortedByDiskLoc = 0
|
||||
|
|
@ -60,6 +61,7 @@ INDEXED_NESTED_LOOP_JOIN
|
|||
---------------providedSorts = {baseSortPattern: {}, ignoredFields: []}
|
||||
---------Inner:
|
||||
------------FETCH
|
||||
---------------ns = test.c
|
||||
---------------nodeId = 3
|
||||
---------------fetched = 1
|
||||
---------------sortedByDiskLoc = 0
|
||||
|
|
@ -69,6 +71,7 @@ INDEXED_NESTED_LOOP_JOIN
|
|||
---------------------Namespace: test.c Index: { c: 1 }
|
||||
---Inner:
|
||||
------FETCH
|
||||
---------ns = test.b
|
||||
---------nodeId = 6
|
||||
---------fetched = 1
|
||||
---------sortedByDiskLoc = 0
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ INDEXED_NESTED_LOOP_JOIN
|
|||
---------providedSorts = {baseSortPattern: {}, ignoredFields: []}
|
||||
---Inner:
|
||||
------FETCH
|
||||
---------ns = test.b
|
||||
---------nodeId = 3
|
||||
---------fetched = 1
|
||||
---------sortedByDiskLoc = 0
|
||||
|
|
@ -40,6 +41,7 @@ INDEXED_NESTED_LOOP_JOIN
|
|||
---------providedSorts = {baseSortPattern: {}, ignoredFields: []}
|
||||
---Inner:
|
||||
------FETCH
|
||||
---------ns = test.a
|
||||
---------nodeId = 3
|
||||
---------fetched = 1
|
||||
---------sortedByDiskLoc = 0
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ INDEXED_NESTED_LOOP_JOIN
|
|||
---------providedSorts = {baseSortPattern: {}, ignoredFields: []}
|
||||
---Inner:
|
||||
------FETCH
|
||||
---------ns = test.b
|
||||
---------nodeId = 3
|
||||
---------fetched = 1
|
||||
---------sortedByDiskLoc = 0
|
||||
|
|
@ -40,6 +41,7 @@ INDEXED_NESTED_LOOP_JOIN
|
|||
---------providedSorts = {baseSortPattern: {}, ignoredFields: []}
|
||||
---Inner:
|
||||
------FETCH
|
||||
---------ns = test.a
|
||||
---------nodeId = 3
|
||||
---------fetched = 1
|
||||
---------sortedByDiskLoc = 0
|
||||
|
|
|
|||
Loading…
Reference in New Issue