[ https://issues.apache.org/jira/browse/CALCITE-5238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yingyu Wang updated CALCITE-5238: --------------------------------- Description: This is similar to CALCITE-1290. Add a {{maxNodeCount}} parameter to {{RexUtil.toDnf.}} If the number of resulting nodes exceeds that threshold, stops conversion and returns the original expression. Negative number means no threshold. Discussions on d...@calcite.apache.org: [https://lists.apache.org/thread/orcwgr4cgmmvzpgjr49v9wzwo3d1sp7b] In addition, add new version of RexImplicationChecker.implies() that takes maxNodeCount parameter and pass it to RexUtil.toDnf() was: This is similar to CALCITE-1290. Add a {{maxNodeCount}} parameter to {{RexUtil.toDnf.}} If the number of resulting nodes exceeds that threshold, stops conversion and returns the original expression. Negative number means no threshold. Discussions on d...@calcite.apache.org: https://lists.apache.org/thread/orcwgr4cgmmvzpgjr49v9wzwo3d1sp7b > Add a maxNodeCount parameter to RexUtil.toDnf > --------------------------------------------- > > Key: CALCITE-5238 > URL: https://issues.apache.org/jira/browse/CALCITE-5238 > Project: Calcite > Issue Type: Improvement > Reporter: Yingyu Wang > Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > This is similar to CALCITE-1290. Add a {{maxNodeCount}} parameter to > {{RexUtil.toDnf.}} If the number of resulting nodes exceeds that threshold, > stops conversion and returns the original expression. Negative number means > no threshold. > > Discussions on d...@calcite.apache.org: > [https://lists.apache.org/thread/orcwgr4cgmmvzpgjr49v9wzwo3d1sp7b] > > In addition, add new version of RexImplicationChecker.implies() that takes > maxNodeCount parameter and pass it to RexUtil.toDnf() -- This message was sent by Atlassian Jira (v8.20.10#820010)