A complete example of processing CSV files from S3 and writing back to S3.
sales_transformer:v3
Flow Version has already been configured in the Lume UI with S3 Connectors for the source and target.
local_sales_data.csv
)
order_id | product_id | quantity | price |
---|---|---|---|
ord_001 | prod_a | 2 | 10.50 |
ord_002 | prod_b | 1 | 25.00 |
ord_003 | prod_a | 5 | 9.99 |
mapped_sales_data.csv
in the target S3 bucket)
order_id | product | item_count | total_price |
---|---|---|---|
ord_001 | prod_a | 2 | 21.00 |
ord_002 | prod_b | 1 | 25.00 |
ord_003 | prod_a | 5 | 49.95 |
product_id
→ product
, quantity
→ item_count
) and calculated a new field (total_price
).