[ 
https://issues.apache.org/jira/browse/CALCITE-1501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15685323#comment-15685323
 ] 

Julian Hyde commented on CALCITE-1501:
--------------------------------------

The {{Program.run}} API is misleading, I'm afraid. I'm not sure that the 
planning process uses the {{planner}} object you have just created (with 
{{IntersectToDistinctRule}} removed). So you'll have to find another way to 
plan with the rule removed.

> EnumerableUnion should use array comparator when row type is ARRAY
> ------------------------------------------------------------------
>
>                 Key: CALCITE-1501
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1501
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.10.0
>            Reporter: Dayue Gao
>            Assignee: Julian Hyde
>
> Reproduce using cvs adaptor example
> {noformat}
> 0: jdbc:calcite:model=target/test-classes/mod> select count(*), max(deptno) 
> from emps e1 union select count(*), max(deptno) from emps e2;
> +---------------------+--------+
> |       EXPR$0        | EXPR$1 |
> +---------------------+--------+
> | 5                   | 40     |
> | 5                   | 40     |
> +---------------------+--------+
> {noformat}



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

Reply via email to