Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
Query Optimization
-
Fully Compatible
-
QO 2022-12-26, QO 2023-01-09, QO 2023-01-23
Description
Follow up to SERVER-62961. Fix TODO related to empty arrays in utils/utils.cpp
// For now we do not support empty arrays. Need to translate into null bounds.
Consider what classic does for empty array bounds:
t.createIndex({a: 1})
[{$match: {a: {$eq: []}}}]
[js_test:array_match] "indexBounds" : { |
[js_test:array_match] "a" : [ |
[js_test:array_match] "[undefined, undefined]", |
[js_test:array_match] "[[], []]" |
[js_test:array_match] ]
|
[js_test:array_match] }
|
|