Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-4103

SetOp and Union should accept RelNode subclasses in the constructor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • 1.24.0
    • core
    • None

    Description

      Currently only list of RelNode is accepted:

      protected SetOp(RelOptCluster cluster, RelTraitSet traits,
            List<RelNode> inputs, SqlKind kind, boolean all) {}
      

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            hyuan Haisheng Yuan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: