Jungtaek Lim created CALCITE-1438:
-------------------------------------

             Summary: RelOptUtils.toString() throws StackOverflowError when 
RelSubset and input makes cycle
                 Key: CALCITE-1438
                 URL: https://issues.apache.org/jira/browse/CALCITE-1438
             Project: Calcite
          Issue Type: Bug
          Components: core
            Reporter: Jungtaek Lim
            Assignee: Julian Hyde
            Priority: Critical


I found that one of rels in Relsub has parent Relsub as 'input' (Relsub and 
Project). Fortunately it was not selected to 'best', but Relsub print out first 
occurence of rel which match the trait, and unfortunately it's first one.

Query is really simple, INSERT INTO BAR SELECT ID, NAME, ADDR FROM FOO WHERE ID 
> 3. I didn't see this when I directly uses Calcite logical.



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

Reply via email to