- setup
- Sets up Feature Store for a repo. Setting up Feature Store creates the corresponding database if it is not available, then it will create database objects in the corresponding database. You must have the following database privileges set up Feature Store (create the corresponding database):
- CREATE DATABASE privilege
- CREATE TABLE privilege
When you create a database for FeatureStore, you can specify the perm space and spool space to be allocated to new database. Refer to Teradata Package for Python Function Reference for FeatureStore details.
Example:
>>> from teradataml import FeatureStore
>>> fs = FeatureStore("vfs_v1")
>>> fs.setup() True >>>
- repair
- If any database component is removed, then repair() tries to create those missing components. repair() only tries to create missing database objects and not the associated data for the corresponding component.
Example:
>>> from teradataml import FeatureStore
>>> fs = FeatureStore("vfs_v1")
>>> fs.repair() True >>>
- list_repos
- Specifies the available repos that are configured for FeatureStore.
Example:
>>> from teradataml import FeatureStore
>>> FeatureStore.list_repos() repos 0 vfs_v1