-
Type: Bug
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Execution
-
ALL
-
QE 2022-09-19, QE 2022-10-03, QE 2022-10-31, QE 2022-11-14, QE 2022-11-28, QE 2022-12-12, QE 2022-12-26, QE 2023-01-09
It looks like we need to check whether a double is within float's numeric limits before casting to a float to see if we lose precision here: https://github.com/mongodb/mongo/blob/044d2f734e0dba40b9dfb02cc49c2bff8f575cd5/src/mongo/db/index/column_cell.cpp#L86