[ES|QL] Improve arithmetic unary expression nodes #189258
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:ES|QL
ES|QL related features in Kibana
Team:ESQL
ES|QL related features in Kibana
For unary arithmetic expressions, say
-column
, the constructed AST is modified to create a binary expression wherecolumn
is multiplied by-1
. So,-column
is transformed to-1 * column
. Instead we should just create a unary expressionfunction
call node. We are already doing that forNOT
unary expressions, likeNOT column
.The text was updated successfully, but these errors were encountered: