Skip to main content
Ctrl+K
PyFlink 1.20+vvr.11.7.dev0 documentation - Home PyFlink 1.20+vvr.11.7.dev0 documentation - Home
  • API Reference
  • Examples
  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataStream
  • PyFlink DataFrame
  • PyFlink Common
  • API Reference
  • PyFlink Table
  • TableEnvironment
  • pyflink.table.table_environment.TableEnvironment.add_python_file

pyflink.table.table_environment.TableEnvironment.add_python_file#

TableEnvironment.add_python_file(file_path: str)[source]#

Adds a python dependency which could be python files, python packages or local directories. They will be added to the PYTHONPATH of the python UDF worker. Please make sure that these dependencies can be imported.

Parameters:

file_path – The path of the python dependency.

Added in version 1.10.0.

previous

pyflink.table.table_environment.TableEnvironment.add_python_archive

next

pyflink.table.table_environment.TableEnvironment.create

On this page
  • TableEnvironment.add_python_file()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.