mihaibudiu commented on code in PR #4324:
URL: https://github.com/apache/calcite/pull/4324#discussion_r2067510918
##########
core/src/main/java/org/apache/calcite/rex/RexUtil.java:
##########
@@ -2984,6 +2970,9 @@ private static class RexShiftShuttle extends RexShuttle {
}
}
+ /** Exception to catch when an expression explodes exponentially. */
+ private static class ExponentialExplosionError extends ControlFlowException
{}
Review Comment:
It doesn't have to be exponential, sometime even a small polynomial can be
too much.
I would call this "PlanTooComplex," since it indicates that optimizing the
plan produces a result that is too complex, either at the Rel or at the Rex
level (add this to the JavaDoc).
--
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]