[ https://issues.apache.org/jira/browse/CALCITE-207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17249942#comment-17249942 ]
Julian Hyde commented on CALCITE-207: ------------------------------------- We don't have branches in the main repo anymore. Therefore I have deleted branch {{origin/recursive_types}} and created a branch [julianhyde/207-recursive-types|https://github.com/julianhyde/calcite/tree/207-recursive-types] with the same contents. > Support recursive/reference data types > -------------------------------------- > > Key: CALCITE-207 > URL: https://issues.apache.org/jira/browse/CALCITE-207 > Project: Calcite > Issue Type: Bug > Reporter: GitHub Import > Priority: Major > Labels: github-import > > For Eclipse memory analyzer plugin it is required to process references > somehow, enable navigation (e.g. `where emp.manager.manager.name='boss'`) > Currently `StackOverflowError` occurs when trying self-referencing data type > (see relevant code at > https://github.com/julianhyde/optiq/blob/450562d268d37e8b24421117d1834e5b8dffdda4/core/src/main/java/net/hydromatic/optiq/jdbc/JavaTypeFactoryImpl.java#L60) > ```java > class Employee { > Employee manager; > ... > } > ``` > `StackOverflowError` > ``` > at > net.hydromatic.optiq.jdbc.JavaTypeFactoryImpl.createType(JavaTypeFactoryImpl.java:118) > at > net.hydromatic.optiq.jdbc.JavaTypeFactoryImpl.createStructType(JavaTypeFactoryImpl.java:76) > at > net.hydromatic.optiq.jdbc.JavaTypeFactoryImpl.createType(JavaTypeFactoryImpl.java:118) > at > net.hydromatic.optiq.jdbc.JavaTypeFactoryImpl.createStructType(JavaTypeFactoryImpl.java:76) > ``` > ---------------- Imported from GitHub ---------------- > Url: https://github.com/julianhyde/optiq/issues/207 > Created by: [vlsi|https://github.com/vlsi] > Labels: > Assignee: [julianhyde|https://github.com/julianhyde] > Created at: Tue Mar 25 15:34:25 CET 2014 > State: open -- This message was sent by Atlassian Jira (v8.3.4#803005)