FeatureStore Methods | Teradata Package for Python - FeatureStore Methods - Teradata Package for Python

Teradata® Package for Python User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Package for Python
Release Number
20.00
Published
December 2024
ft:locale
en-US
ft:lastEdition
2025-01-23
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
dita:id
rkb1531260709148
Product Category
Teradata Vantage
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