CatalogDataSourceService.

upload_csv

upload_csv(data_source_id: str, csv_file: Path, table_name: str) -> None

Upload a CSV file and import it into a GDSTORAGE data source.

Convenience method that orchestrates the full flow: staging_upload → analyze_csvimport_csvregister_upload_notification.

Parameters

nametypedescription
data_source_idstrData source identification string for a GDSTORAGE data source.
csv_filePathPath to the CSV file to upload.
table_namestrName for the table to create or replace in the data source.

Returns

typedescription
NoneNone