Jark Wu created FLINK-5225:

             Summary: Add interface to override parameter types of UDTF's eval 
                 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

Reply via email to