Teradata Package for Python Function Reference on VantageCloud Lake - delete - Teradata Package for Python - Look here for syntax, methods and examples for the functions included in the Teradata Package for Python.
Teradata® Package for Python Function Reference on VantageCloud Lake
- Deployment
- VantageCloud
- Edition
- Lake
- Product
- Teradata Package for Python
- Release Number
- 20.00.00.08
- Published
- November 2025
- ft:locale
- en-US
- ft:lastEdition
- 2025-12-05
- dita:id
- TeradataPython_FxRef_Lake_2000
- Product Category
- Teradata Vantage
- teradataml.store.feature_store.feature_store.FeatureStore.delete = delete(self, force=False)
- DESCRIPTION:
Removes the FeatureStore and its components from repository.
Notes:
* The function removes all the associated database objects along with data.
Be cautious while using this function.
* The function tries to remove the underlying Database also once
all the Feature Store objects are removed.
* The user must have permission on the database used by this Feature Store
* to drop triggers.
* to drop the tables.
* to drop the Database.
* If the user lacks any of the mentioned permissions, Teradata recommends
to not use this function.
PARAMETERS:
force:
Optional Argument.
Specifies whether to forcefully delete feature store or not.
When set to True, delete() method proceeds to drop objects
even if previous step is errored. Otherwise, delete() method
raises the exception at the first error and do not proceed to
remove other objects.
Defaults: False
Types: bool
RETURNS:
bool.
RAISES:
None
EXAMPLES:
# Setup FeatureStore for repo 'vfs_v1'.
>>> from teradataml import FeatureStore
>>> fs = FeatureStore("vfs_v1")
Repo vfs_v1 does not exist. Run FeatureStore.setup() to create the repo and setup FeatureStore.
# Setup FeatureStore.
>>> fs.setup()
True
# Delete the FeatureStore and all its components.
>>> fs.delete()
The function removes Feature Store and drops the corresponding repo also. Are you sure you want to proceed? (Y/N): Y
True
# Forcefully delete the FeatureStore and all its components.
>>> fs.delete(force=True)
The function removes Feature Store and drops the corresponding repo also. Are you sure you want to proceed? (Y/N): Y
True