# Example: Simple transforms for CSV pipeline
# Paste this into the Transform config panel in the ETL UI.

transform:
  rename:
    product_id: id
    product_name: name
    updated_at: source_updated_at

  convert:
    price: float
    quantity: int
    source_updated_at: datetime

  defaults:
    category: "uncategorized"

  add:
    processed_at: "now()"
    source: "etl_example"

  select:
    - id
    - name
    - category
    - price
    - quantity
    - source_updated_at
    - processed_at
    - source
