[CI] LogicalPlanOptimizerTests testSimplifyComparisionArithmetics_floatDivision failing #108524
Labels
:Analytics/ES|QL
AKA ESQL
low-risk
An open issue or test failure that is a low risk to future releases
Team:Analytics
Meta label for analytical engine team (ESQL/Aggs/Geo)
>test-failure
Triaged test failures from CI
The
SimplifyComparisonArithimetics
optimizer fails to optimize the expression2 / float < 4
. It seems like on the first pass through, it generates the expressionfloat * 4.0 > 2
, but then doesn't further optimize that tofloat > 0.5
. I think it detects a floating point multiplication in the second expression, which is considered an unsafe optimization.Build scan:
https://gradle-enterprise.elastic.co/s/zn7kv6lwmdrow/tests/:x-pack:plugin:esql:test/org.elasticsearch.xpack.esql.optimizer.LogicalPlanOptimizerTests/testSimplifyComparisionArithmetics_floatDivision
Reproduction line:
Applicable branches:
main
Reproduces locally?:
Yes
Failure history:
Failure dashboard for
org.elasticsearch.xpack.esql.optimizer.LogicalPlanOptimizerTests#testSimplifyComparisionArithmetics_floatDivision
Failure excerpt:
The text was updated successfully, but these errors were encountered: