2023-10-18T12:27:44.888Z assert: [1] != [0] are not equal : Should only have a single UNPACK_TS_BUCKET stage: {
"explainVersion" : "1",
"stages" : [
{
"$cursor" : {
"queryPlanner" : {
"namespace" : "test.system.buckets.timeseries_match_pushdown_with_project",
"indexFilterSet" : false,
"parsedQuery" : {
"control.max.a" : {
"$_internalExprGt" : 5
}
},
"queryHash" : "B7829371",
"planCacheKey" : "B7829371",
"maxIndexedOrSolutionsReached" : false,
"maxIndexedAndSolutionsReached" : false,
"maxScansToExplodeReached" : false,
"winningPlan" : {
"stage" : "COLLSCAN",
"filter" : {
"control.max.a" : {
"$_internalExprGt" : 5
}
},
"direction" : "forward"
},
"rejectedPlans" : [ ]
}
}
},
{
"$_internalUnpackBucket" : {
"include" : [
"_id",
"a",
"b"
],
"timeField" : "time",
"metaField" : "meta",
"bucketMaxSpanSeconds" : 3600,
"assumeNoMixedSchemaData" : true,
"eventFilter" : {
"a" : {
"$gt" : 5
}
}
}
},
{
"$project" : {
"_id" : true,
"b" : true
}
}
],
"serverInfo" : {
"host" : "ip-10-128-50-239.ec2.internal",
"port" : 20250,
"version" : "7.2.0-alpha-688-g5f753b6-patch-652fbb2e850e616c005ae290",
"gitVersion" : "5f753b64500373a5a36acefd4c9867a3aafc187c"
},
"serverParameters" : {
"internalQueryFacetBufferSizeBytes" : 104857600,
"internalQueryFacetMaxOutputDocSizeBytes" : 104857600,
"internalLookupStageIntermediateDocumentMaxSizeBytes" : 104857600,
"internalDocumentSourceGroupMaxMemoryBytes" : 104857600,
"internalQueryMaxBlockingSortMemoryUsageBytes" : 104857600,
"internalQueryProhibitBlockingMergeOnMongoS" : 0,
"internalQueryMaxAddToSetBytes" : 104857600,
"internalDocumentSourceSetWindowFieldsMaxMemoryBytes" : 104857600,
"internalQueryFrameworkControl" : "forceClassicEngine"
},
"command" : {
"aggregate" : "system.buckets.timeseries_match_pushdown_with_project",
"pipeline" : [
{
"$_internalUnpackBucket" : {
"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn9","msg":"Connection ended","attr":\{"remote":"127.0.0.1:57360","uuid":{"uuid":,"connectionId":9,"connectionCount":0}}
"timeField" : "time",
"metaField" : "meta",
"bucketMaxSpanSeconds" : 3600,
"assumeNoMixedSchemaData" : true,
"usesExtendedRange" : false,
"fixedBuckets" : false
}
},
{
"$match" : {
"a" : {
"$gt" : 5
}
}
},
{
"$project" : {
"b" : 1
}
}
],
"cursor" : {
},
"collation" : {
"locale" : "simple"
}
},
"ok" : 1
}
doassert@src/mongo/shell/assert.js:20:14
assert.eq@src/mongo/shell/assert.js:176:17
runTest/unpackStage<@jstests/noPassthroughWithMongod/timeseries_match_pushdown_with_project.js:44:20
runTest@jstests/noPassthroughWithMongod/timeseries_match_pushdown_with_project.js:55:7
@jstests/noPassthroughWithMongod/timeseries_match_pushdown_with_project.js:74:8