chaprola_alter
Modify a data file's schema by widening, narrowing, renaming, adding, or dropping fields, and transform existing data to match the new schema.
Instructions
Modify a data file's schema: widen/narrow/rename fields, add new fields, drop fields. Transforms existing data to match the new schema.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | Fields to add | |
| drop | No | Field names to drop | |
| name | Yes | Data file name (without extension) | |
| alter | No | Fields to alter | |
| output | No | Output file name (default: in-place) | |
| project | Yes | Project name |