Read
Configuration
- type: read
from: "connection/path/to/file.txt" # Required: Source Location
into: "my_content" # Optional: Store content in variable
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
source_url: "s3://bucket/path/to/file.txt" # The normalized URI of the source file
bytes_read: 1024 # Number of bytes read
content: "file content here" # File content (only if 'into' is not specified)Examples
Read Configuration File
Read Query Template
Process Text File Content
Last updated
Was this helpful?