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 DataFrame
  • PyFlink Multimodal
  • PyFlink DataStream
  • PyFlink Common

pyflink.table.table_environment.TableEnvironment.drop_model#

TableEnvironment.drop_model(model_path: str, ignore_if_not_exists: Optional[bool] = 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.

New in version 2.1.0.

previous

pyflink.table.table_environment.TableEnvironment.drop_temporary_view

next

pyflink.table.table_environment.TableEnvironment.drop_temporary_model

Show Source

Created using Sphinx 4.5.0.