Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataStream
  • PyFlink Common

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.

New in version 1.10.0.

previous

pyflink.table.table_environment.TableEnvironment.add_python_archive

next

pyflink.table.table_environment.TableEnvironment.create

Show Source

Created using Sphinx 4.5.0.