[jira] [Created] (FLINK-14342) Remove method FunctionDefinition#getLanguage

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

[jira] [Created] (FLINK-14342) Remove method FunctionDefinition#getLanguage

Shang Yuanchun (Jira)
Dian Fu created FLINK-14342:
-------------------------------

             Summary: Remove method FunctionDefinition#getLanguage
                 Key: FLINK-14342
                 URL: https://issues.apache.org/jira/browse/FLINK-14342
             Project: Flink
          Issue Type: Sub-task
          Components: API / Python, Table SQL / API
    Affects Versions: 1.10.0
            Reporter: Dian Fu
             Fix For: 1.10.0


As discussed in [https://github.com/apache/flink/pull/9748#discussion_r329575228], all the Python *ScalarFunction* need to implement the interface *PythonFunction* and we can determine if a ScalarFunction is Python or not via if it's an instance of *PythonFunction*, the method *FunctionDefinition#getLanguage* is not needed any more.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)