CatalogDataSourceService.

import_csv

import_csv(data_source_id: str, table_name: str, location: str, config: Optional[dict[str, Any]]) -> None

Import a CSV file from staging into a GDSTORAGE data source.

Parameters

nametypedescription
data_source_idstrData source identification string.
table_namestrName for the table to create or replace.
locationstrLocation string returned by staging_upload.
configOptional[dict[str, Any]]Source config dict, typically from analyze_csv response. Passed as ImportCsvRequestTableSourceConfig kwargs.

Returns

typedescription
NoneNone