cshuo opened a new pull request #2012:
URL: https://github.com/apache/calcite/pull/2012


   … subExprs to RexExecutor
   
   Currently in RexSimplify#simplifyCast, if an expression is judged as a const 
expression but the outer CAST can not be removed, we pass the original 
expression to `RexExecutor` to reduce the expression which may leads to 
unexpected exception when the original expression contains `RexInputRef`.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to