-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
Query Optimization
-
Fully Compatible
-
QO 2024-02-05, QO 2024-02-19, QO 2024-03-04, QO 2024-03-18, QO 2024-04-01
-
(copied to CRM)
Since $convert doesn't work with BinData types, and there are no helper functions for binary data, nor for UUID in particular, it's very difficult to do something like converting UUID that's stored as a string to a proper BinData format.
Example: I have string "867dee52-c331-484e-92d1-c56479b8e67e" and I want to have UUID("867dee52-c331-484e-92d1-c56479b8e67e") which is BinData(4, "hn3uUsMxSE6S0cVkebjmfg==") and there doesn't seem to be a way to do that server-side.
- has to be done before
-
SERVER-87398 Support 'format' option for $convert between date and string
- In Progress
- is depended on by
-
COMPASS-7803 Investigate changes in SERVER-43411: add base64 and UUID conversion functions or add BinData $convert
- Closed
- is related to
-
SERVER-3794 Allow to access BinData binary value from MR
- Closed
- related to
-
SERVER-96027 convert between different binData subtypes is no-op when it should be error
- Closed
-
SERVER-3794 Allow to access BinData binary value from MR
- Closed
-
SERVER-46079 $convert should allow any type to be converted to string
- Backlog
-
SERVER-3153 The mongo shell needs better support for displaying and entering GUIDs/UUIDs
- Closed