set_byom_catalog() | Teradata Package for Python - set_byom_catalog() - 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
March 2024
Language
English (United States)
Last Update
2024-04-09
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
dita:id
rkb1531260709148
Product Category
Teradata Vantage
The set_byom_catalog() function allows a user to set the BYOM model catalog information, such as a table name and schema name, at the session level for the following BYOM model cataloging APIs:
Required Argument:
  • table_name specifies the name of the table to be used for BYOM model cataloging. This table is used for saving, retrieving BYOM model information by BYOM model cataloging APIs.
Optional Argument:
  • schema_name specifies the name of the schema/database in which the table specified in table_name is looked up.

    If not specified, then table is looked up in current schema/database.

Example Setup

>>> from teradataml import set_byom_catalog

Example 1: Set global parameters table_name and schema_name

>>> set_byom_catalog(table_name='model_table_name', schema_name='model_schema_name')
The model cataloging parameters are set to table_name='model_table_name' and schema_name='model_schema_name'