-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Integration
-
Fully Compatible
-
200
-
None
-
3
-
TBD
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The newly introduced $minMaxScaler window function for the $setWindowFields stage does not currently assert that the evaluated expression is a numeric type.
If a non-numeric expression is given as input, a downstream tripwire assertion will be triggered in the 'mongo::min_max_scaler::MinAndMax::update' function. Instead, we want to fail these query upstream, with a clear error message, with a uassert (indicating user error).