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

Dayue Gao commented on CALCITE-1501:
------------------------------------

[~julianhyde] PR ready to be review.

My previous test approach didn't work because after {{planner.setRoot}}, 
PhaseMatchList in RuleQueue is finalized and won't be modified by 
{{planner.removeRule}}.

To overcome this, I add Hook.PLANNER so that tests can add or remove rules 
easily.

> 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