Add $facet tests#669
Conversation
Signed-off-by: PatersonProjects <keldonhoff@gmail.com>
Signed-off-by: PatersonProjects <keldonhoff@gmail.com>
This reverts commit 014f2bc. Signed-off-by: PatersonProjects <keldonhoff@gmail.com>
This reverts commit 51a482a. Signed-off-by: PatersonProjects <keldonhoff@gmail.com>
…-tests Signed-off-by: PatersonProjects <keldonhoff@gmail.com>
…-tests Signed-off-by: PatersonProjects <keldonhoff@gmail.com>
Signed-off-by: PatersonProjects <keldonhoff@gmail.com>
Signed-off-by: PatersonProjects <keldonhoff@gmail.com>
|
🤖 Auto-triaged by documentdb-triage-tool. Applied: Reasoningcomponent from path globs (test-coverage, test-framework); effort from diff stats (1755+0 LOC, 12 files); LLM: Adds new compatibility tests for the $facet aggregation stage operator, expanding test coverage for an existing feature. If a label is wrong, remove it manually and ping |
Signed-off-by: PatersonProjects <keldonhoff@gmail.com>
Signed-off-by: PatersonProjects <keldonhoff@gmail.com>
|
|
||
| # Property [Sub-Pipeline Stage Support]: common aggregation stages and | ||
| # use-case combinations produce the expected output arrays inside $facet. | ||
| FACET_SUBPIPELINE_STAGE_TESTS: list[StageTestCase] = [ |
There was a problem hiding this comment.
Missing supported stages inside $facet: $densify, $fill, $documents should each have one smoke case. Also missing forbidden stages (non-Atlas): $currentOp and $changeStream should be tested as rejected inside $facet.
fanyangv
left a comment
There was a problem hiding this comment.
Thanks for the great test coverage! Last changes requested are around: FACET_SUBPIPELINE_STAGE_TESTS; $sample before $facet case.
This pr adds tests for the $facet stage operator
Ref: Issue #47, #485