Write
Configuration
- type: write
to: "connection/path/to/file.txt" # Required: Destination Location
content: "text content to write" # Required: Content to write
on_failure: abort # Optional: abort/warn/quiet/skip
id: my_id # Optional. Will be generated. Use `log` hook with {runtime_state} to view state.Properties
Property
Required
Description
Output
status: success # Status of the hook execution
target_url: "s3://bucket/path/to/file.txt" # The normalized URI of the target file
bytes_written: 1024 # Number of bytes writtenExamples
Generate Data Processing Report
Create JSON Configuration File
Write Query Results to File
Create Error Log
Generate CSV Report
Write Content from Local File
Write Processed Content
Create Backup Metadata
Write Multi-line SQL Script
Conditional Writing
Last updated
Was this helpful?