Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-5225

Add interface to override parameter types of UDTF's eval method

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Abandoned
    • None
    • None
    • Table SQL / API
    • None

    Description

      ScalarFunction has getParameterTypes() to be overridden if the parameter types of the eval method can not be determined automatically. This is missing in TableFunction.

      This needs to implement a custom Calcite's TableFunction and override getParameters(). But currently, the FlinkTableFunctionImpl extends ReflectiveFunctionBase, the ReflectiveFunctionBase determines the parameter types of the eval method.

      Attachments

        Issue Links

          Activity

            People

              jark Jark Wu
              jark Jark Wu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: