set_byom_catalog() | Teradata Package for Python - set_byom_catalog() - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905
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'