load_data() utility function | Teradata Package for Generative AI - load_data() - Teradata VantageCloud Lake

Lake - Analyze Your Data with ClearScape Analytics™

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2026-02-20
dita:mapPath
tcl1683670667798.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
tcl1683670667798

The load_data() utility function loads the example teradatagenai datasets.

Function arguments can accept only predetermined values, which are found only in load_data() function calls given in examples provided in the Function Reference and this user guide.

load_data() skips creation and loading of the dataset if the table with the name provided for table_name argument already exists.

This function creates a new table in Vantage. If required, you must drop tables manually, for example, if a table with the same name exists or is no longer required.

The database you use to load a table depends on the following conditions:
  • If the configuration option "temp_table_database" is set, then the tables are loaded in the database specified in this option.
  • If the configuration option "temp_table_database" is not set and "temp_database_name" parameter is used while creating context, then the tables are loaded in the database specified in "temp_database_name" parameter.
  • If none of them is specified, then the tables are created in the connecting users' default database or the connecting database.