-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: 9.0.8
-
Component/s: None
-
None
-
Query Execution
-
ALL
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
With a hashed index on the foreignField, SBE's $lookup returns the same foreign document once per local array value that hashes to the same key. Here local a: [2.5, 2] against foreign {_id: 2, a: 2} gives j with {_id: 2} twice; the classic engine returns it once.
Found with Ephyra, a property-based testing tool I'm developing; this report was drafted with an LLM from the test output, and I reviewed it and reran the repro on 9.0.8 and master.
- related to
-
SERVER-66119 INLJ can output the same record twice when value is present by itself and in an array
-
- Closed
-