What the panel controls
Branch labelSource tableLoad Example- the Python editor
Preview with sample dataSave Script
Required script shape
None only when you intentionally want to drop the record.
Step by step
- Open the pipeline builder and select the branch transform.
- Rename the branch if operators need a clearer label such as
Analytics Orders. - Confirm the
Source tableor resource so preview uses the correct payload shape. - Click Load Example if the current source type has a close starting point.
- Edit the script inside
transform(record). - Click Preview with sample data.
- Review the output columns and rows.
- Click Save Script.
Real-world example
Current implementation notes
- Scripts are branch-specific, not global.
- The editor is meant for record shaping, not external I/O.
- If the script raises an error, preview and pipeline runs treat that as a failure in the current supported UI flow.