You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Elsewhere in DataFusion (including in ScalarValue) we use ordered_float to compare floating point numbers
It might be possible to use set::<OrderedFloat<f32>>, which would be more space efficient (fewer bytes than ScalarValue) as well as faster (as the comparison doens't have to dispatch on the type each time)
Elsewhere in DataFusion (including in
ScalarValue
) we useordered_float
to compare floating point numbersIt might be possible to use
set::<OrderedFloat<f32>>
, which would be more space efficient (fewer bytes thanScalarValue
) as well as faster (as the comparison doens't have to dispatch on the type each time)https://github.com/apache/arrow-datafusion/blob/88b88d4360054a85982987aa07b3f3afd2db7d70/datafusion/common/src/scalar.rs#L33
Originally posted by @alamb in #2809 (comment)
The text was updated successfully, but these errors were encountered: