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_csv → import_csv → register_upload_notification.
Parameters
| name | type | description |
|---|---|---|
| data_source_id | str | Data source identification string for a GDSTORAGE data source. |
| csv_file | Path | Path to the CSV file to upload. |
| table_name | str | Name for the table to create or replace in the data source. |
Returns
| type | description |
|---|---|
| None | None |