Add $out stage tests#182
Conversation
|
🤖 Auto-triaged by documentdb-triage-tool. Applied: Reasoningcomponent from path globs (test-coverage, test-framework); effort from diff stats (5885+0 LOC, 16 files); LLM: Adds new integration test coverage for the $out stage operator, touching the compatibility tests directory. If a label is wrong, remove it manually and ping |
e23668c to
8dac8d4
Compare
SaiPradyumn
left a comment
There was a problem hiding this comment.
$out + $merge mutual exclusion -> Both are terminal stages. Test confirming [{"$out": "x"}, {"$merge": {...}}] or [{"$merge": ...}, {"$out": "x"}] errors.
99fb741 to
62090cc
Compare
|
Pushed one commit for |
alinaliBQ
left a comment
There was a problem hiding this comment.
Will continue addressing comments next week
|
Addressed all comments |
Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com> separate outlier cases Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com> separate outlier cases Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
| "db_digits_only", | ||
| docs=[{"_id": 1}], | ||
| target_coll="target", | ||
| target_db="123", |
There was a problem hiding this comment.
Avoid using the hard coded db names also, otherwise no guarantee there's no duplicate. dropDatabase may affect other tests.
This change adds tests for the $out stage operator.
Add stage operator tests for $out. Tests database $out behavior, output collection, syntax, and expected errors.
Integration tests are in
documentdb_tests/compatibility/tests/core/operator/stages/test_stages_combination_out.py