[ 
https://issues.apache.org/jira/browse/FLINK-6457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ruidong Li updated FLINK-6457:
------------------------------
    Description: 
Motivation:
Some methods in ScalarFunction and TableFunction are unnecessary, e.g 
toString() and getResultType in ScalarFunction
this issue intend to clear the interface.
Goal:
 only methods related to `Collector` will remain in TableFunction interface, 
and ScalarFunction interface shall have no methods , user can choose whether to 
implement the `getResultType` method, which will be called by reflection, and 
the Flink document will have instructions for user.

  was:
clean up ScalarFunction interface:
Some methods in ScalarFunction and TableFunction are unnecessary, e.g 
toString() and getResultType in ScalarFunction
this issue intend to clear the interface, only methods related to `Collector` 
will remain in TableFunction interface, and ScalarFunction interface shall have 
no methods , user can choose whether to implement the `getResultType` method, 
which will be called by reflection, and the Flink document will have 
instructions for user.


> Clean up ScalarFunction and TableFunction interface
> ---------------------------------------------------
>
>                 Key: FLINK-6457
>                 URL: https://issues.apache.org/jira/browse/FLINK-6457
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API & SQL
>            Reporter: Ruidong Li
>            Assignee: Ruidong Li
>
> Motivation:
> Some methods in ScalarFunction and TableFunction are unnecessary, e.g 
> toString() and getResultType in ScalarFunction
> this issue intend to clear the interface.
> Goal:
>  only methods related to `Collector` will remain in TableFunction interface, 
> and ScalarFunction interface shall have no methods , user can choose whether 
> to implement the `getResultType` method, which will be called by reflection, 
> and the Flink document will have instructions for user.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to