Skip to main content

DBT adapter for YDB

Project description

dbt logo

dbt-ydb

dbt-ydb is a plugin for dbt that provides support for working with YDB.

Installation

To install plugin, execute the following command:

pip install dbt-ydb

Supported features

  • Table materialization
  • View materialization
  • Seeds
  • Docs generate
  • Tests
  • Incremental materializations
  • Snapshots

Usage

Profile Configuration

To configure YDB connection, fill profile.yml file as below:

profile_name:
  target: dev
  outputs:
    dev:
      type: ydb
      host: [localhost] # YDB host
      port: [2136] # YDB port
      database: [/local] # YDB database
      schema: [<empty string>] # Optional subfolder for DBT models
      secure: [False] # If enabled, grpcs protocol will be used
      root_certificates_path: [<empty string>] # Optional path to root certificates file

      # Static Credentials
      username: [<empty string>]
      password: [<empty string>]

      # Access Token Credentials
      token: [<empty string>]

      # Service Account Credentials
      service_account_credentials_file: [<empty string>]

Model Configuration

View

Option Description Required Default

Table

Option Description Required Default
primary_key Primary key to use during table creation yes
store_type Type of table. Available options are row and column no row

Seed

Option Description Required Default
primary_key Primary key to use during table creation no The first column of CSV will be used as default.

Limitations

  • YDB does not support CTE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dbt_ydb-0.0.3.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dbt_ydb-0.0.3-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file dbt_ydb-0.0.3.tar.gz.

File metadata

  • Download URL: dbt_ydb-0.0.3.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.11

File hashes

Hashes for dbt_ydb-0.0.3.tar.gz
Algorithm Hash digest
SHA256 04d4057ae334cea6409c18447fb8ac9f5be1b2a519fef60d4e2dcaab275225ea
MD5 d7bad7f225e840bb7b4b096344269217
BLAKE2b-256 ec4c12156427a0f08a6ff94c2af8b8a3a47202841443592b6f2262c42a7264dc

See more details on using hashes here.

File details

Details for the file dbt_ydb-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: dbt_ydb-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 18.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.11

File hashes

Hashes for dbt_ydb-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f754c2c57a31fc1d33e12c17d80dfaa336b1983e91b03da9b6c6b267f91e7e4f
MD5 b4c062f8a0f18372f36288ae74ffcf9b
BLAKE2b-256 c1745b0fdd6f47ecdc4a4f941cb13b58a3f96e5f5b99a846ac48644687af7bec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page