Botong Huang created CALCITE-3947:
-------------------------------------

             Summary: AbstractRelOptPlanner.classes should be LinkedHashSet so 
that rule match order is deterministic across runs
                 Key: CALCITE-3947
                 URL: https://issues.apache.org/jira/browse/CALCITE-3947
             Project: Calcite
          Issue Type: Improvement
            Reporter: Botong Huang


AbstractRelOptPlanner.classes is used by subClasses() to determine things to 
put into VolcanoPlanner.classOperands, which is then used in 
VolcanoPlanner.fireRules(). Since AbstractRelOptPlanner.classes is now a 
HashSet, its iteration order is not deterministic across runs, making debugging 
hard. It should be LinkedHashSet just like many other fields in the planner.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to