void reduce(RexBuilder rexBuilder, java.util.List<RexNode> constExps, java.util.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.