Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
-
None
Description
/** * Creates a <code>LogicalTableFunctionScan</code>. * * @param cluster Cluster that this relational expression belongs to * @param inputs 0 or more relational inputs * @param traitSet Trait set * @param rexCall Function invocation expression * @param elementType Element type of the collection that will implement * this table * @param rowType Row type produced by function * @param columnMappings Column mappings associated with this function */ public LogicalTableFunctionScan( RelOptCluster cluster, RelTraitSet traitSet, List<RelNode> inputs, RexNode rexCall, Type elementType, RelDataType rowType, Set<RelColumnMapping> columnMappings) { super(cluster, traitSet, inputs, rexCall, elementType, rowType, columnMappings); }
There might be a gap to make LogicalTableFunctionScan work for table function windowing:
1. we need a RexInputRef parameter (converted from the DESCRIPTOR) to mark which column is the watermarked column.
2. we need a List of RexNode(RexLiteral) for interval parameters.
The most straightforward approach while maintaining backward compatible, seems is add another constructor with an additional List<RexNode> parameter. We could save RexInputRef and intervals (RexLiteral) to this parameter.
Attachments
Issue Links
- blocks
-
CALCITE-3272 TUMBLE Table-valued Function
- Closed