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'