You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2016/06/09 16:38:21 UTC

[jira] [Assigned] (CALCITE-1268) Union should apply explicit Project over its children if they have different but coercible types

     [ https://issues.apache.org/jira/browse/CALCITE-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Hyde reassigned CALCITE-1268:
------------------------------------

    Assignee: Julian Hyde  (was: Maryann Xue)

I'll take a look at why CoerceInputsRule is not being used.

> Union should apply explicit Project over its children if they have different but coercible types
> ------------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-1268
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1268
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.7.0
>            Reporter: Maryann Xue
>            Assignee: Julian Hyde
>
> Test case in SqlToRelConverterTest:
> {code}
>   @Test public void testUnionExprTypes() {
>     check(
>         "select empno, sal from emp "
>             + "union all "
>             + "select deptno, deptno from dept",
>         "${plan}");
>   }
> {code}



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