This section describes how to integrate the with Snowflake databases.
For more information on supported versions, see Connection Types.
NOTE: This integration is supported only for deployments of in customer-managed AWS infrastructures. These deployments must use S3 as the base storage layer. For more information, see Supported Deployment Scenarios for AWS.
PUBLIC. For more information, please see the Snowflake documentation.
When relational connections are enabled, this connection type is automatically available. For more information, see Enable Relational Connections.
To create a Snowflake connection, you must enable the following feature. The job manifest feature enables the creation of a manifest file to track the set of temporary files written to S3 before publication to Snowflake.
NOTE: To guarantee consistency you can enable consistent view on the EMR cluster. This step must be done when the cluster is created. See Configure for EMR.
Locate the following parameter and set it to
In Snowflake terminology, a stage is a database object that points to an external location on S3. It must be an external stage containing access credentials.
If a stage is used, it is typically the default bucket used on S3 for storage.
Tip: You can specify a separate database to use for your stage.
NOTE: For read-only connections to Snowflake, you must specify a Database for Stage. The connecting user must have write access to this database.
If a stage is not specified, a temporary stage is created using the current user's AWS credentials.
NOTE: Without a defined stage, you must have write permissions to the database from which you import. This database is used to create the temporary stage.
For more information on stages, see https://docs.snowflake.net/manuals/sql-reference/sql/create-stage.html.
In the , the stage location is specified as part of creating the Snowflake connection.
For more information, see Create Snowflake Connections.
After you create your connection, load a small dataset based on a table in the connected Snowflake database.
NOTE: For Snowflake connections, you must have write access to the database from which you are importing.
See Import Data Page.
For more information, see Verify Operations.