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.