Haisheng Yuan created CALCITE-4103:
--------------------------------------
Summary: 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
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)