rubenada commented on code in PR #5228:
URL: https://github.com/apache/calcite/pull/5228#discussion_r3878857278
##########
core/src/main/java/org/apache/calcite/rex/RexSimplify.java:
##########
@@ -1545,15 +1556,25 @@ private static List<RexNode>
toCaseOperands(List<CaseBranch> branches) {
/**
* Decides whether it is safe to flatten the given CASE part into ANDs/ORs.
*/
- enum SafeRexVisitor implements RexVisitor<Boolean> {
- INSTANCE;
+ private static class SafeRexVisitor implements RexVisitor<Boolean> {
Review Comment:
Looked outdated indeed. I've updated it.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]