From 70a230aecf6185ea1e899bd3afa78c733439304b Mon Sep 17 00:00:00 2001 From: Andrew Feierabend Date: Mon, 28 Dec 2020 15:40:33 -0500 Subject: [PATCH] DOCSP-13735 add empty array result for setIntersection --- source/reference/operator/aggregation/setIntersection.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/reference/operator/aggregation/setIntersection.txt b/source/reference/operator/aggregation/setIntersection.txt index 12bd9e06c07..31515395899 100644 --- a/source/reference/operator/aggregation/setIntersection.txt +++ b/source/reference/operator/aggregation/setIntersection.txt @@ -38,6 +38,9 @@ Behavior .. include:: /includes/important-set-operator-semantics.rst +If no intersections are found (i.e. the input arrays contain no common +elements), :expression:`$setIntersection` returns an empty array. + .. include:: /includes/extracts/fact-agg-top-level-expressions-setIntersection.rst .. list-table::