Sudheesh Katkam created DRILL-4043:
--------------------------------------

             Summary: FindLimit0Visitor should be applied after Calcite logical 
transformation
                 Key: DRILL-4043
                 URL: https://issues.apache.org/jira/browse/DRILL-4043
             Project: Apache Drill
          Issue Type: Bug
          Components: Query Planning & Optimization
            Reporter: Sudheesh Katkam
            Assignee: Sudheesh Katkam


FindLimit0Visitor optimization is applied after Drill logical transformation 
(i.e. working on DrillRel node tree), and not after Calcite logical 
transformation. 

{{RelShuttle}} is meant to be applied on Calcite logical tree. So none of the 
visitor methods except {{visit(RelNode other)}} are actually executed, and 
search termination never happens.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to