Teradata Package for Python Function Reference on VantageCloud Lake - get_persisted_tables - 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.automl.auto_cluster.AutoCluster.get_persisted_tables = get_persisted_tables(self)
DESCRIPTION:
    Get the list of the tables that are persisted in the database.
    Note:
        * User is responsible for keeping track of the persistent tables 
          and cleanup of the same if required.
 
PARAMETERS:
    None
 
RETURNS:
    Dictionary, containing the list of table names that mapped to the stage
    at which it was generated.
 
RAISES:
    TeradataMlException.
 
EXAMPLES:
    # Create an instance of the AutoML called "obj" by referring 
    # "AutoML()" or "AutoRegressor()" or "AutoClassifier()" or 
    # "AutoFraud()" or "AutoChurn()" or "AutoCluster()" method.
    # 'persist' argument must be set to True in the AutoML object.
    >>> obj = AutoML(verbose=2, max_models=10, persist=True)
 
    # Load and fit the data.
    >>> load_example_data("teradataml", "titanic")
    >>> titanic_data = DataFrame("titanic")
    >>> obj.fit(data = titanic_data, target_column = titanic.survived)
 
    # Get the list of tables that are persisted in the database.
    >>> obj.get_persisted_tables()