Defining Snowflake Stages

The following properties are applicable to a Snowflake Stage object.




Additional Information


Is Temporary Specifies whether the stage is temporary  

External Stage Params
Note: These properties are applicable only when the Stage Type property is set to External.

External Stage Type Specifies the external stage name  
URL Specifies the external location's URL used to store data files for loading and unloading  
Storage Integration Specifies the name of the storage integration used to delegate authentication responsibility  
Aws Key ID Specifies the security credentials required to connect to AWS and access a private or protected bucket These fields are available based on the External Stage Type.
Aws secret key
Aws Token
Aws Role Specifies the role to be used to identify instead of the security credentials
Azure Sas Token Specifies the SAS token to connect to Azure and access a private or protected container
External Stage Encryption Type Specifies the encryption type to be used
External Stage Encryption Kms Key ID Specifies the ID of the KMS-managed key used to encrypt files unloaded into the bucket
External Stage Encryption Master Key Specifies the client-side master key used to encrypt or decrypt the files in a container

Stage Format Options

Use Existing File Format Specifies whether the existing file format must be used for the stage  
Stage File Format Type Specifies the types of files for the stage Depending on the format that you set, other corresponding properties are available.

Stage Copy Options

Action On Error (while Copy) Specifies the action to be performed when an error occurs while loading data from a file  
Copy Size Limit Specifies the maximum size (in bytes) of data to be loaded for a COPY statement  
Purge After Copy Specifies whether data files must be to purged automatically after data is successfully loaded  
Returned Failed Only Specifies whether only the files that failed to load are returned in the statement result  
Enforce Length Specifies whether text strings that exceed the target column length must be truncated  
Match By Column Name Specifies whether to load semi-structured data into columns in the target table that match corresponding columns represented in the data  
Truncate Columns Specifies whether text strings that exceed the target column length must be truncated  
Force Load (Reload) All Files Specifies whether all files must be loaded, irrespective of whether they have been loaded previously and have not changed since they were loaded