csv_schema
Infer the schema of a CSV file by sampling records, discovering column names, data types, and nullability.
Instructions
Infer the schema of a CSV file by sampling records. Returns column names, types, and nullability.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the CSV file | |
| sampleSize | No | Number of records to sample for inference (default: 1000) | |
| outputFormat | No | Output format (default: inferred) |