void reduce(RexBuilder rexBuilder, List<RexNode> constExps, List<RexNode> reducedValues)
If an expression cannot be reduced, writes the original expression.
CAST('abc' AS INTEGER) gives an error when executed, so the executor
ignores the error and writes the original expression.
rexBuilder- Rex builder
constExps- Expressions to be reduced
reducedValues- List to which reduced expressions are appended
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.