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

Julian Hyde resolved CALCITE-4103.
----------------------------------
    Resolution: Won't Fix

> SetOp and Union should accept RelNode subclasses in the constructor
> -------------------------------------------------------------------
>
>                 Key: CALCITE-4103
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4103
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>            Reporter: Haisheng Yuan
>            Priority: Major
>
> Currently only list of RelNode is accepted:
> {code:java}
> protected SetOp(RelOptCluster cluster, RelTraitSet traits,
>       List<RelNode> inputs, SqlKind kind, boolean all) {}
> {code}
> If I have a List of EnumerableTableScan, the compiler will complain. It might 
> be better to change to List<? extends RelNode>. I think this can still keep 
> the backward compatibility.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to