SQL: Wrong sort order for derived long fields #77301
Labels
:Analytics/SQL
SQL querying
>bug
Team:Analytics
Meta label for analytical engine team (ESQL/Aggs/Geo)
Given an index
long_oder
with the following content:The query
SELECT l - 1 + 1 FROM long_order ORDER BY 1
retrieves the records in the wrong order:This bug is likely caused by the precision loss of converting long values to double in the script sort context:
The text was updated successfully, but these errors were encountered: