Movatterモバイル変換


[0]ホーム

URL:


✨ As of November 2023, Arcion has become a part of Databricks.Learn more here
Stage configuration

Stage configuration#

By default, Replicant uses Snowflake’s native stage for bulk loading. But you can also use an external stage like Azure. The external stage holds the data files and then Replicant loads them on the target Snowflake server. Thestage section ofthe connection configuration file allows you to specify the details Replicant requires to connect to and use a specific stage.

The following parameters can configure stages. For example configuration for each stage, seeExamples.

type[v21.06.14.1]#

The stage type. Arcion supports the following stages:

root-dir#

A directory on stage to stage bulk-load files.

conn-url[v21.06.14.1]#

The URL for the stage. For example, if you use Amazon S3 as stage, specify the bucket name. If you use Microsoft Azure as stage, specify the container name.

key-id#

If you use Amazon S3 as stage, this parameter holdsthe access Key ID for your AWS account that hosts S3.

account-name[v21.06.14.1]#

If you use Microsoft Azure as the stage, this specifies the name of the ADLS storage account.

secret-key[v21.06.14.1]#

This parameter applies to bothS3 andAZURE types. It represents Amazon S3 secret key and Azure storage secret key.

token[v21.06.14.1]#

If you use Microsoft Azure as the stage, this parameter holdsthe SAS token for Azure storage.

Examples#

Microsoft Azure as stage#

The following shows a sample stage configuration for Azure as stage:

stage:type:AZUREroot-dir:"replicate-stage/snowflake-stage"conn-url:"replicate-stage"account-name:"replicant-storageaccount"secret-key:"YOUR_SECRET_KEY"token:"YOUR_SAS_TOKEN"

Replace the following:

Amazon S3 as stage#

The following shows a sample stage configuration for S3 as stage:

stage:type:S3root-dir:"replicate-stage/snowflake-stage"conn-url:"replicate-stage"key-id:"YOUR_ACCESS_KEY_ID"secret-key:"YOUR_SECRET_KEY"

Replace the following:


[8]ページ先頭

©2009-2026 Movatter.jp