-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
Fully Compatible
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Currently, the PathArrayness API uses FieldPath and the constructor of FieldPath will uassert if we give it an invalid FieldPath even if the actual path is valid in MQL, e.g. empty path in MatchExpressions.
We should validate the input FieldPath by calling FieldPath::validateFieldName() and if we return an error, we should just return the conservative guarantee, i.e. input field path is an array.
- is duplicated by
-
SERVER-115361 Ensure we do not assert if invalid "FieldPath" is passed into isPathArray()
-
- Closed
-
- is related to
-
SERVER-113446 Investigate using FieldRef instead of FieldPath
-
- Closed
-
- related to
-
SERVER-116314 Refactor FieldPath constructor to use factory function
-
- Closed
-
-
SERVER-117655 Avoid assigning FieldPath object to *this in constructor
-
- Backlog
-
-
SERVER-115361 Ensure we do not assert if invalid "FieldPath" is passed into isPathArray()
-
- Closed
-