Table.order_by
should not warn about Floating_Point_Equality
when sorting on Float
columns
#8213
Closed
2 of 3 tasks
The
Floating_Point_Equality
warning is related to operations relying on equality - e.g. grouping. Sorting relies on ordering and the warning is irrelevant here, but apparently it is reported fororder_by
- this is a mistake.After analysis, I can see it happens because we use the 'equality-oriented'
MultiValueIndex
which reports theFloating_Point_Equality
warning, withinTable::orderBy
. That seems unnecessary - there is no need to create the index - we can just useList<OrderedMultiValueKey>::sort
and extract the row ordering from that result.Float
column.Table::orderBy
to useList::sort
instead of the index.The text was updated successfully, but these errors were encountered: