Snowflake_Connection.get_from_stage
get_from_stagestagepathdirectorypatternif_not_found
Documentation
Download one or more files from a stage to a local folder. This will overwrite existing files. It will attempt to create the directory if it does not exist.
Arguments
stage: The name (and optionally schema) of the stage to read the properties from.path: The path (or prefix) to the files to list.directory: The local folder to save the files to.pattern: Optional regex pattern to match names against.if_not_found: what to return if no files are found. Defaults to raising aNot_Founderror.
Returns
A vector of files that were downloaded or if none were found, the
value specified by if_not_found.