GET_ABSOLUTE_PATH

functionsupportedData loading & unloading

docs.snowflake.com ↗

File functions

Retrieves the absolute path of a staged file using the stage name and path of the file relative to its location in the stage as inputs.

Syntax

GET_ABSOLUTE_PATH( @<stage_name> , '<relative_file_path>' )

Parameters

NameRequiredDescription
stage_namerequiredName of the internal or external stage where the file is stored. Note If the stage name includes spaces or special characters, it must be enclosed in single quotes (e.g. '@"my stage"' for a stage named "my stage").
relative_file_pathrequiredPath and filename of the file relative to its location in the stage.

Returns

Absolute path of the file in cloud storage.

Usage notes