Use the repair() method to check for the corresponding missing database objects that are required for FeatureStore. If any of the database objects is not available, then the database tries to create the object using this method.
The method repairs only the underlying tables and not data inside the corresponding table.
There are no parameters for this function.
Example setup
>>> from teradataml import FeatureStore
Example 1: Repair FeatureStore repo 'vfs_v1'
Create FeatureStore for repo 'vfs_v1'.
>>> fs = FeatureStore("vfs_v1")
Repo vfs_v1 does not exist. Run FeatureStore.setup() to create the repo and setup FeatureStore.
Set up FeatureStore for this repository.
>>> fs.setup()
Let's say some of the objects of the feature store are missing for some reason. Verify the missing object by creating FeatureStore again.
>>> fs = FeatureStore("vfs_v1")
Some of the feature store objects are missing. Run FeatureStore.repair() to create missing objects.
>>> fs.repair()
Successfully repaired the following objects: _efs_data_source_staging True