[jira] [Created] (FLINK-5225) Add interface to override parameter types of UDTF's eval method

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-5225) Add interface to override parameter types of UDTF's eval method

Shang Yuanchun (Jira)
Jark Wu created FLINK-5225:
------------------------------

             Summary: Add interface to override parameter types of UDTF's eval method
                 Key: FLINK-5225
                 URL: https://issues.apache.org/jira/browse/FLINK-5225
             Project: Flink
          Issue Type: Improvement
            Reporter: Jark Wu


{{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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)