remove_data_domain() | FeatureStore Delete Method | Teradata Package for Python - remove_data_domain() - Teradata Package for Python

Teradata® Package for Python User Guide

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Teradata Package for Python
Release Number
20.00
Published
March 2025
ft:locale
en-US
ft:lastEdition
2025-12-05
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
dita:id
rkb1531260709148
Product Category
Teradata Vantage

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