Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Query Optimization
-
Fully Compatible
-
ALL
-
QO 2023-07-24, QO 2023-08-07, QO 2023-08-21, QO 2023-09-04, QO 2023-09-18
Description
When we have a query that uses positional projection on an array, the positional projection is serialized as, for example,
{ sub: { $id.$: true } } |
whereas the original (valid) syntax is
{ sub.$id.$: true } |
This results in this re-parse error:
Was not able to re-parse queryStats key when reading queryStats. Status: Location31325: Unknown expression $id.$
|
The test dbref3.js caught this bug and should be re-enabled when it's fixed.