Snowflake

target-snowflake (meltano variant)🥈

Snowflake database loader

The target-snowflake loader

This plugin is deprecated and not recommended for use. Please use another variant.

sends data into Snowflake after it was pulled from a source using an extractor

Alternate Implementations

Getting Started

Prerequisites

If you haven't already, follow the initial steps of the Getting Started guide:

  1. Install Meltano
  2. Create your Meltano project

Installation and configuration

  1. Add the target-snowflake loader to your project using
    meltano add
    :
  2. meltano add loader target-snowflake --variant meltano
  3. Configure the target-snowflake settings using
    meltano config
    :
  4. meltano config target-snowflake set --interactive

Next steps

If you run into any issues, learn how to get help.

Capabilities

This plugin currently has no capabilities defined. If you know the capabilities required by this plugin, please contribute!

Settings

The target-snowflake settings that are known to Meltano are documented below. To quickly find the setting you're looking for, click on any setting name from the list:

You can also list these settings using

meltano config
with the list subcommand:

meltano config target-snowflake list

You can override these settings or specify additional ones in your meltano.yml by adding the settings key.

Please consider adding any settings you have defined locally to this definition on MeltanoHub by making a pull request to the YAML file that defines the settings for this plugin.

Account (account)

  • Environment variable: TARGET_SNOWFLAKE_ACCOUNT

Account Name in Snowflake (https://XXXXX.snowflakecomputing.com)


Configure this setting directly using the following Meltano command:

meltano config target-snowflake set account [value]

Batch Size (batch_size)

  • Environment variable: TARGET_SNOWFLAKE_BATCH_SIZE
  • Default Value: 5000

The number of records sent to Snowflake at a time.


Configure this setting directly using the following Meltano command:

meltano config target-snowflake set batch_size [value]

Database (database)

  • Environment variable: TARGET_SNOWFLAKE_DATABASE

The name of the Snowflake database you want to use


Configure this setting directly using the following Meltano command:

meltano config target-snowflake set database [value]

Password (password)

  • Environment variable: TARGET_SNOWFLAKE_PASSWORD

The password you use for logging in


Configure this setting directly using the following Meltano command:

meltano config target-snowflake set password [value]

Role (role)

  • Environment variable: TARGET_SNOWFLAKE_ROLE

Role to be used for loading the data, e.g. LOADER. Also this role is GRANTed usage to all tables and schemas created


Configure this setting directly using the following Meltano command:

meltano config target-snowflake set role [value]

Schema (schema)

  • Environment variable: TARGET_SNOWFLAKE_SCHEMA
  • Default Value: $MELTANO_EXTRACT__LOAD_SCHEMA

Note $MELTANO_EXTRACT__LOAD_SCHEMA will expand to the value of the load_schema extra for the extractor used in the pipeline, which defaults to the extractor's namespace, e.g. tap_gitlab for tap-gitlab. Values are automatically converted to uppercase before they're passed on to the plugin, so tap_gitlab becomes TAP_GITLAB.


Configure this setting directly using the following Meltano command:

meltano config target-snowflake set schema [value]

Timestamp Column (timestamp_column)

  • Environment variable: TARGET_SNOWFLAKE_TIMESTAMP_COLUMN
  • Default Value: __loaded_at

Name of the column used for recording the timestamp when Data are uploaded to Snowflake.


Configure this setting directly using the following Meltano command:

meltano config target-snowflake set timestamp_column [value]

Username (username)

  • Environment variable: TARGET_SNOWFLAKE_USERNAME

The username you use for logging in


Configure this setting directly using the following Meltano command:

meltano config target-snowflake set username [value]

Warehouse (warehouse)

  • Environment variable: TARGET_SNOWFLAKE_WAREHOUSE

The name of the Snowflake warehouse you want to use


Configure this setting directly using the following Meltano command:

meltano config target-snowflake set warehouse [value]

Something missing?

This page is generated from a YAML file that you can contribute changes to.

Edit it on GitHub!

Looking for help?

If you're having trouble getting the target-snowflake loader to work, look for an existing issue in its repository, file a new issue, or join the Meltano Slack community and ask for help in the
#plugins-general
channel.

Install

meltano add loader target-snowflake --variant meltano

Maintenance Status

  • Maintenance Status

Repo

https://gitlab.com/meltano/target-snowflake
  • Stars
  • Forks
  • Last Commit Date
  • Open Issues
  • Open PRs
  • Contributors
  • License

Maintainer

  • Meltano

Meltano Stats

  • Total Executions (Last 3 Months)
  • Projects (Last 3 Months)

Keywords

  • database