Complete guide to accessing and processing files stored in Snowflake stages through Elementum automations
@files_to_process
)Understanding the View Components
RELATIVE_PATH
: File path within the stageSIZE
: File size in bytesLAST_MODIFIED
: Timestamp of last file modificationMD5
: File hash for integrity checkingpresigned_url
: Secure, time-limited URL for file access (valid for 3600 seconds = 1 hour)presigned_url
is automatically regenerated every time the Data Mine runs, ensuring that URLs are always fresh and valid. This means you never have to worry about URL expiration interrupting your automated file processing.RELATIVE_PATH
, LAST_MODIFIED
, and MD5
$PRESIGNED_URL
GET
No Auth
File
$PRESIGNED_URL
variable comes from the Data Mine trigger, providing access to all fields from the matching stage file record.ALL_CAPS
placeholders with your actual values.
For complete configuration options, see Snowflake’s CREATE STAGE documentation.
Create Stage and View
Grant CloudLink Permissions
Upload Test File