Class SimplifyStackedArithmeticNegation

java.lang.Object
io.trino.sql.ir.optimizer.rule.SimplifyStackedArithmeticNegation
All Implemented Interfaces:
IrOptimizerRule

public class SimplifyStackedArithmeticNegation extends Object implements IrOptimizerRule
Simplify stacked arithmetic negations expressions. E.g,
  • $negation($negation(x)) -> x