Use the remove_data_domain() method to remove the data domain from the FeatureStore and all associated objects.
There are no parameters for this function.
- This operation permanently deletes all objects, tables, and views tied to the data domain.
- There is no archival or built-in recovery, all deletions are irreversible.
Example setup
>>> from teradataml import FeatureStore
Create a new FeatureStore or use an existing one.
>>> fs = FeatureStore("repo", data_domain="sales")
FeatureStore is ready to use.
Example: Remove the data domain 'sales' and all associated objects
>>> fs.remove_data_domain()
The function will remove the data domain 'sales' and all associated objects. Are you sure you want to proceed? (Y/N): Y Data domain 'sales' is removed from the FeatureStore. True