Use the get_persisted_tables function to get the list of the tables that are persisted in the database.
You are responsible for keeping track of the persistent tables and persistent table cleanup.
get_persisted_tables returns a dictionary containing the list of table names that mapped to the stage at which it was generated.
Parameters
There are no parameters for this function.
Example
Create an instance of the AutoML called "obj" by referring one of the following methods:
- AutoML()
- AutoRegressor()
- AutoClassifier()
- AutoFraud()
- AutoChurn()
- AutoCluster()
The '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()