Download Download

yaml
type: "io.kestra.plugin.jdbc.snowflake.Download"

Download data to an internal stage

Examples

yaml
id: "download"
type: "io.kestra.plugin.jdbc.snowflake.Download"
stageName: MYSTAGE
fileName: prefix/destFile.csv

Properties

compress

  • Type: boolean
  • Dynamic:
  • Required: ✔️
  • Default: true

compress data or not before uploading stream

fileName

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

destination file name to use

stageName

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

The stage name

~ or table name or stage name

url

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

The jdbc url to connect to the database

database

  • Type: string
  • Dynamic: ✔️
  • Required:

Specifies the default database to use once connected, or specifies an empty string.

The specified database should be an existing database for which the specified default role has privileges. If you need to use a different database after connecting, execute the USE DATABASE command.

password

  • Type: string
  • Dynamic: ✔️
  • Required:

The database user's password

role

  • Type: string
  • Dynamic: ✔️
  • Required:

Specifies the default access control role to use in the Snowflake session initiated by the driver.

The specified role should be an existing role that has already been assigned to the specified user for the driver. If the specified role has not already been assigned to the user, the role is not used when the session is initiated by the driver. If you need to use a different role after connecting, execute the USE ROLE command.

schema

  • Type: string
  • Dynamic: ✔️
  • Required:

Specifies the default schema to use for the specified database once connected.

The specified schema should be an existing schema for which the specified default role has privileges. If you need to use a different schema after connecting, execute the USE SCHEMA command.

username

  • Type: string
  • Dynamic: ✔️
  • Required:

The database user

warehouse

  • Type: string
  • Dynamic: ✔️
  • Required:

Specifies the virtual warehouse to use once connected.

The specified warehouse should be an existing warehouse for which the specified default role has privileges. If you need to use a different warehouse after connecting, execute the USE WAREHOUSE command can be executed to set a different warehouse for the session.

Outputs

uri

  • Type: string

The url of the file on kestra storage