Vertica setup
If you're interested in contributing, check out the source code for each repository listed below.
- Maintained by: Vertica
- Authors: Vertica (Former authors: Matthew Carter, Andy Regan, Andrew Hedengren)
- GitHub repo: vertica/dbt-vertica
- PyPI package:
dbt-vertica - Slack channel: n/a
- Supported dbt Core version: v1.8.5 and newer
- dbt support: Not Supported
- Minimum data platform version: Vertica 24.3.0
Installing dbt-vertica
Use pip to install the adapter. Before 1.8, installing the adapter would automatically install dbt-core and any additional dependencies. Beginning in 1.8, installing an adapter does not automatically install dbt-core. This is because adapters and dbt Core versions have been decoupled from each other so we no longer want to overwrite existing dbt-core installations.
Use the following command for installation:
python -m pip install dbt-core dbt-vertica
Configuring dbt-vertica
For Vertica-specific configuration, please refer to Vertica configs.
Connecting to Vertica with dbt-vertica
Username / password authentication
Configure your dbt profile for using Vertica:
Vertica connection information
your-profile:
outputs:
dev:
type: vertica # Don't change this!
host: [hostname]
port: [port] # or your custom port (optional)
username: [your username]
password: [your password]
database: [database name]
oauth_access_token: [access token]
schema: [dbt schema]
connection_load_balance: True
backup_server_node: [list of backup hostnames or IPs]
retries: [1 or more]
autocommit: False
threads: [1 or more]
target: dev
Description of Profile Fields:
| Loading table... |
For more information on Vertica’s connection properties please refer to Vertica-Python Connection Properties.
Was this page helpful?
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.