Github user twalthr commented on the issue: https://github.com/apache/flink/pull/2560 @wuchong I heavily tested this PR again as it could introduce difficult bugs. And I also found one issue that needs to be discussed. If you have an expression like `CAST(TRUE AS VARCHAR) || 'Test'` the result will be `TTest` not `trueTest`. So the expression reduction has a different string representation of boolean literals. The question is, do we wanna adapt our code, can this be configured, or is Calcite doing something wrong? What do you think @fhueske?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---