[
https://issues.apache.org/jira/browse/CALCITE-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16374086#comment-16374086
]
zhen wang commented on CALCITE-2011:
------------------------------------
@Test public void testSelectUnion() {
final String sql = "select a, a + 1 from ("
+ "select a from (values (1)) as t1 (a) union all select a from (Values
(2)) as t2 (a) )";
CalciteAssert.hr()
.query(sql)
.runs();
}
this actually works. guess it's a different scenario, [~RuidongLi] need more
details
> ProjectSetOpTransposeRule gives StackOverflowError
> --------------------------------------------------
>
> Key: CALCITE-2011
> URL: https://issues.apache.org/jira/browse/CALCITE-2011
> Project: Calcite
> Issue Type: Bug
> Reporter: Ruidong Li
> Assignee: Julian Hyde
> Priority: Major
>
> Here's the test case. If t1 and t2 are tables with one column "a", then
> {code}
> t1.unionAll(t2).select(a + 1, a).select(a)
> {code}
> will cause {{StatckOverflowError}} if {{ProjectSetOpTransposeRule}} is
> enabled.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)