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

Teradata® Package for Python User Guide

Product
Teradata Package for Python
Release Number
17.10
Published
May 2022
Language
English (United States)
Last Update
2022-08-18
dita:mapPath
rsu1641592952675.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
B700-4006
lifecycle
previous
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'