/** * Creates an UncollectRel. * * <p>The row type of the child relational expression must contain precisely * one column, that column must be a multiset of records. * * @param cluster Cluster the relational expression belongs to * @param traitSet Traits * @param child Child relational expression */ public UncollectRel(RelOptCluster cluster, RelTraitSet traitSet, RelNode child) { super(cluster, traitSet, child); assert deriveRowType() != null : "invalid child rowtype"; }
/** * Creates an UncollectRel. * * <p>The row type of the child relational expression must contain precisely * one column, that column must be a multiset of records. * * @param cluster Cluster the relational expression belongs to * @param child Child relational expression */ public UncollectRel( RelOptCluster cluster, RelNode child) { super( cluster, cluster.traitSetOf(Convention.NONE), child); assert deriveRowType() != null : "invalid child rowtype"; }