CSV Upload with Field Transforms¶
This configuration tells OAA to load a file called data/sample_users.csv and push it to the Pre-Configured CSV Provider with ID 01994dbd-5551-729b-ab82-8d5714cee692. It is very similar to the csv_push file but it does some pre-push transformations on the fields.
# config.yaml
version: v2
app:
name: Kevin's Custom App
application_type: Custom App
sources:
users:
destination: LocalUser
source_type: csv_push
csv_filepath: data/sample_users.csv
csv_provider_id: "01994dbd-5551-729b-ab82-8d5714cee692"
field_mapping:
user_id:
destination_field: unique_id
name:
destination_field: name
Example of the sample_users.csv¶
user_id,name
2,kevin
3,kevin-3
This is some inline code