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

Support to close PythonFunctionFactory

    XMLWordPrintableJSON

Details

    Description

      PythonFunctionFactory is used to convert a Python class to a Java PythonFunction representation which could then be used as a user-defined function. Underlying PythonFunctionFactory, there is a Python process which is used to perform the actual conversion work. Currently, the Python process is added to shutdown hook and closed when the JVM exits. The aim of this JIRA is to provide more flexibility for users by introducing a close method to PythonFunctionFactory. This will allow PythonFunctionFactory to be closed manually and periodically which is important when integrating this feature in the platforms. 

      Attachments

        Issue Links

          Activity

            People

              dian.fu Dian Fu
              dian.fu Dian Fu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: