jinxing64 commented on issue #1478: [CALCITE-3378] AssertionError for checking RexNode implify URL: https://github.com/apache/calcite/pull/1478#issuecomment-536269841 When apply InputUsageFinder on `=($11, CAST(1):JavaType(class java.lang.String))`, the CAST is removed. Given `$11` is of String type, `getValueAs` will try to extract a string from `literal(1)`. Thus exception throws. I think we get to answer if it's valid to remove the CAST in `InputUsageFinder` here.
---------------------------------------------------------------- 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] With regards, Apache Git Services
