CatalogDataSourceService.

analyze_csv

analyze_csv(location: str) -> AnalyzeCsvResponse

Analyze an uploaded CSV file in the staging area.

Returns column metadata, detected types, and a config object that can be passed directly to import_csv.

Parameters

nametypedescription
locationstrLocation string returned by staging_upload.

Returns

typedescription
AnalyzeCsvResponse

Analysis result with columns, preview data, and config.