[
https://issues.apache.org/jira/browse/CALCITE-2851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16770896#comment-16770896
]
Zoltan Haindrich commented on CALCITE-2851:
-------------------------------------------
Yes, I had in mind to throw an error - as paranoid mode is only enabled during
tests.
It could help start enforcing a design rules against RexSimplify:
* only visit nodes once - or if that's needed have a clear declaration of that
it will happen
* ensure that a 2. run on a simplified tree will not resulting in any further
simplifications
* probably later it could also help to add something which could skip the
trying to simplify the same nodes again.
> Simplification: track visited nodes in paranoid mode
> ----------------------------------------------------
>
> Key: CALCITE-2851
> URL: https://issues.apache.org/jira/browse/CALCITE-2851
> Project: Calcite
> Issue Type: Improvement
> Reporter: Zoltan Haindrich
> Assignee: Zoltan Haindrich
> Priority: Major
>
> Idea is to have an object which could track all the visited nodes, goal is to
> identify if we have rules which are about to re-visit a previously visited
> node again.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)