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.