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.drop_model

pyflink.table.table_environment.TableEnvironment.drop_model#

TableEnvironment.drop_model(model_path: str, ignore_if_not_exists: bool | None = True) → bool[source]#

Drops a model registered in the given path.

This method can only drop permanent objects. Temporary objects can shadow permanent ones. If a temporary object exists in a given path, make sure to drop the temporary object first using drop_temporary_model().

Parameters:
  • model_path – The path of the registered model.

  • ignore_if_not_exists – Ignore if model does not exist.

Returns:

True if a model existed in the given path and was removed.

Added in version 2.1.0.

previous

pyflink.table.table_environment.TableEnvironment.drop_temporary_view

next

pyflink.table.table_environment.TableEnvironment.drop_temporary_model

On this page
  • TableEnvironment.drop_model()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.