Add $setDifference, $setIntersection, $setEquals, $setIsSubset tests#692
Add $setDifference, $setIntersection, $setEquals, $setIsSubset tests#692danielfrankcom wants to merge 8 commits into
Conversation
This change adds tests for the $setDifference expression. It was originally authored by @mitchell-elholm. Closes documentdb#268 Co-authored-by: Mitchell Elholm <mitchell-elholm@users.noreply.github.com> Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
This change adds tests for the $setIntersection expression. It was originally authored by @mitchell-elholm. Closes documentdb#270 Co-authored-by: Mitchell Elholm <mitchell-elholm@users.noreply.github.com> Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
This change adds tests for the $setEquals expression. It was originally authored by @mitchell-elholm. Closes documentdb#269 Co-authored-by: Mitchell Elholm <mitchell-elholm@users.noreply.github.com> Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
This change adds tests for the $setIsSubset expression. It was originally authored by @mitchell-elholm. Closes documentdb#271 Co-authored-by: Mitchell Elholm <mitchell-elholm@users.noreply.github.com> Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
|
🤖 Auto-triaged by documentdb-triage-tool. Applied: Reasoningcomponent from path globs (test-coverage); effort from diff stats (6898+0 LOC, 25 files); LLM: Adds new compatibility test coverage for four set expression operators, spanning multiple test files within the test-coverage component. If a label is wrong, remove it manually and ping |
Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
vic-tsang
left a comment
There was a problem hiding this comment.
Missing valid "array-literal-of-field-references" operand shape in $setEquals, $setDifference, and $setIntersection e.g. ([["$x", "$y"],
...]) as a valid input). There are invalid test cases for these but not valid test case exists.
Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
…fference, $setIntersection Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
This change adds tests for the
$setDifference,$setIntersection,$setEquals, and$setIsSubsetexpressions. They were originally authored by @mitchell-elholm.Closes #268, #269, #270, #271