[
https://issues.apache.org/jira/browse/CALCITE-3501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rui Wang updated CALCITE-3501:
------------------------------
Description:
In order to support table value function windowing,
EnumerableTableFunctionScan's implement() should have an implementation which
generates code that iterates input, calls the RexCall and generates output (can
refer to the implementation of EnumerableCalc).
For example, assume the input of table function is:
col1 timestamp, col2 int, col3 char
enumerable table function scan should emit
col1 timestamp, col2 int, col3 char, wstart timestamp, wend timestamp
was:
In order to support table value function windowing,
EnumerableTableFunctionScan's implement() should have an implementation which
generates code that iterates input, calls the RexCall and generates output (can
refer to the implementation of EnumerableCalc).
For example, assume the input of table function is:
col1 timestamp, col2 int, col3 char
enumerable table function scan should emit
col1 timestamp, col2 int, col3 char, window_start timestamp, window_end
timestamp
> Improve EnumerableTableFunctionScan's implement() for table value function
> windowing
> ------------------------------------------------------------------------------------
>
> Key: CALCITE-3501
> URL: https://issues.apache.org/jira/browse/CALCITE-3501
> Project: Calcite
> Issue Type: Sub-task
> Reporter: Rui Wang
> Assignee: Rui Wang
> Priority: Major
>
> In order to support table value function windowing,
> EnumerableTableFunctionScan's implement() should have an implementation which
> generates code that iterates input, calls the RexCall and generates output
> (can refer to the implementation of EnumerableCalc).
> For example, assume the input of table function is:
> col1 timestamp, col2 int, col3 char
> enumerable table function scan should emit
> col1 timestamp, col2 int, col3 char, wstart timestamp, wend timestamp
--
This message was sent by Atlassian Jira
(v8.3.4#803005)