Skip to main content

The vertica adapter plugin for dbt (data build tool)

Project description

dbt-vertica

Your dbt adapter for Vertica.

Built on dbt 0.21.0

Uses vertica-python to connect to Vertica database.

This is a fork of the project from ahedengren's fork of mpcarter's dbt-vertica. Thanks to both of them for the hard work putting it together.

Changes

0.21.0

  • Add unique_field property on connection.

0.20.2

  • Added SSL options.

0.20.1

  • Added the required changes from dbt 0.19.0. Details found here.
  • Added support for the MERGE command for incremental loading isntead of DELETE+INSERT

Install

pip install dbt-vertica

You don't need to install dbt separately. Installing dbt-vertica will also install dbt-core and vertica-python.

Sample Profile Configuration

your-profile:
  outputs:
    dev:
      type: vertica # Don't change this!
      host: vertica-host-name
      port: 5433 # or your custom port (optional)
      username: your-username
      password: your-password
      database: vertica-database-name
      schema: your-default-schema
  target: dev

By default, dbt-vertica will request ConnectionLoadBalance=true (which is generally a good thing), and set a session label of dbt_your-username.

Reach out!

First off, I would not have been able to make this adapater if the smart folks at Fishtown Analytics didn't make it so easy. That said, it seems every database has its own little quirks. I ran into several different issues when adapting the macros to Vertica. If you find something not working right, please open an issue (assuming it has to do with the adapter and not dbt itself).

Also, I would be excited to hear about anyone who is able to benefit from using dbt with Vertica. (Just open an issue to leave me a comment.)

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-vertica-0.21.0.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

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

dbt_vertica-0.21.0-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file dbt-vertica-0.21.0.tar.gz.

File metadata

  • Download URL: dbt-vertica-0.21.0.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for dbt-vertica-0.21.0.tar.gz
Algorithm Hash digest
SHA256 628a2efce9ad81e9fb87438fcb6558ef085760242104680f651119ee621273f1
MD5 5495cdbf4e1c5d4267384214bd8c4356
BLAKE2b-256 a8b8980272c328391a2456d72443dbd5d7b6e80ae73c098d0e3dc3d05b1dcfde

See more details on using hashes here.

File details

Details for the file dbt_vertica-0.21.0-py3-none-any.whl.

File metadata

  • Download URL: dbt_vertica-0.21.0-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for dbt_vertica-0.21.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5f18c93c7bb5d9f16762e154ee11af5ded13dbca1cab396810a11143e251d31a
MD5 c4bc491eaf40950b5dc974eaa3338f06
BLAKE2b-256 4c0ee4ff11c6e4cda06599b21b7d40795f783c2a40cbc66ef5e04eb469244802

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