When converting to conjunctive normal form (CNF), fail if the expression exceeds a threshold. CNF can explode exponentially in the size of the input expression, but rarely does so in practice. Add a maxNodeCount parameter to RexUtil.toCnf and throw or return null if it is exceeded.
- relates to
CALCITE-1290 When converting to CNF, fail if the expression size exceeds a threshold
- links to