Teradata Package for Python Function Reference on VantageCloud Lake - remove_data_domain - 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.11
Publication Date
August 2026
Content Type
Programming Reference
Publication ID
B700-4500-200K
ft:locale
en-US
ft:lastEdition
2026-08-13
ft:sourceId
FTML
dita:id
TeradataPython_FxRef_Lake_2000
Product Category
Teradata Vantage
teradataml.store.feature_store.feature_store.FeatureStore.remove_data_domain = remove_data_domain(self)
DESCRIPTION:
    Removes the data domain from the FeatureStore and all associated objects.
    
    Notes:
        * 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.
 
PARAMETERS:
    None
 
RETURNS:
    bool
 
RAISES:
    TeradataMLException
 
EXAMPLES:
    >>> from teradataml import FeatureStore
    # Create a new FeatureStore or use an existing one.
    >>> fs = FeatureStore("repo", data_domain="sales")
    FeatureStore is ready to use.
 
    # 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