Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-3271 Table-valued function windowing and EMIT syntax support in Calcite
  3. CALCITE-3501

Improve EnumerableTableFunctionScan's implement() for table value function windowing

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.22.0
    • None
    • None

    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

      Attachments

        Issue Links

          Activity

            People

              amaliujia Rui Wang
              amaliujia Rui Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: