After the implementation of
CALCITE-2812, there are some pending details to be addressed in order to make the RepeatUnion and TableSpool more consistent.
- Replace String tableName with a Table (perhaps wrapped in a RelOptTable).
- Rename maxRep as iterationLimit. Change this field to allow all integer values, and treat all negative values as "no limit".