-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
ALL
-
QO 2022-12-26
Builds on MacOs create a different histogram from the same data than the histogram on Linux and Windows builds.
The data set in MinValueMixedHistogramFromData test
100 1000 "abc" "xyz" ObjectId("63340d8d27afef2de7357e8d") 1506777923000 1516864323000 Timestamp(1516864323, 0) Timestamp(1526864323, 0)
creates a 6-bucket histogram on Linux
{{100, 1, 0, 0}, {1000, 1, 0, 0}, {"abc", 1, 0, 0}, {ObjectId("63340d8d27afef2de7357e8d"), 1, 1, 1}, {1516864323000, 1, 1, 1}, {Timestamp(1526864323, 0), 1, 1, 1}, }
On MacOs the same data produce
{{100, 1, 0, 0},
{1000, 1, 0, 0},
{ObjectId("63340d8d27afef2de7357e8d"), 1, 2, 2},
{1506777923000, 1, 0, 0},
{1516864323000, 1, 0, 0},
{Timestamp(1526864323, 0), 1, 1, 1},
}
In other words, on MacOs both string values are packed inside the bucket for the ObjectId values. This enables an extra histogram bucket for the dates, and that results in different CE.
- duplicates
-
SERVER-71205 Fix the way we convert types to doubles for histogram CE
- Closed
- related to
-
SERVER-71725 Complete TODO listed in SERVER-71376
- Closed