The Teradata adapter plugin for dbt (data build tool)
Project description
dbt-teradata
This plugin ports dbt functionality to Teradata Vantage.
Sample profile
Here is a working example of a dbt-teradata profile:
my-teradata-db-profile:
target: dev
outputs:
dev:
type: teradata
host: localhost
user: dbc
password: dbc
schema: dbt_test
tmode: ANSI
At a minimum, you need to specify host, user, password, schema (database), tmode.
Optional configurations
Logmech
The logon mechanism for Teradata jobs that dbt executes can be configured with the logmech configuration in your Teradata profile. The logmech field can be set to: TD2, LDAP, KRB5, TDNEGO. For more information on authentication options, go to Teradata Vantage authentication documentation.
my-teradata-db-profile:
target: dev
outputs:
dev:
type: teradata
host: <host>
user: <user>
password: <password>
schema: dbt_test
tmode: ANSI
logmech: LDAP
Port
If your Teradata database runs on port different than the default (1025), you can specify a custom port in your dbt profile using port configuration.
my-teradata-db-profile:
target: dev
outputs:
dev:
type: teradata
host: <host>
user: <user>
password: <password>
schema: dbt_test
tmode: ANSI
port: <port>
Other Teradata connection parameters
The plugin also supports the following Teradata connection parameters:
- account
- column_name
- cop
- coplast
- encryptdata
- fake_result_sets
- field_quote
- field_sep
- lob_support
- log
- logdata
- max_message_body
- partition
- sip_support
- teradata_values
For full description of the connection parameters see https://github.com/Teradata/python-driver#connection-parameters.
Supported Features
Materializations
viewtableephemeralincremental
Commands
All dbt commands are supported.
Custom configurations
Seeds
use_fastloadconfiguration will instruct the plugin to use fastload when handlingdbt seedcommand. You can set this seed configuration option in yourproject.ymlfile, e.g.:seeds: <project-name>: +use_fastload: true
Limitations
Transaction mode
Only ANSI transaction mode is supported.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dbt-teradata-0.19.0.4.tar.gz.
File metadata
- Download URL: dbt-teradata-0.19.0.4.tar.gz
- Upload date:
- Size: 20.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43bee090b4663738d96db1ae82debe0f15270b0d6e426015b40cb9ab30a3640e
|
|
| MD5 |
5aa33c2f32944fe047f13aaa4abf1297
|
|
| BLAKE2b-256 |
b9b0a70a94d4d7afb78ac80ddff54e3398a5eeeb19a0166dfe1d5115053b6e1f
|
File details
Details for the file dbt_teradata-0.19.0.4-py3-none-any.whl.
File metadata
- Download URL: dbt_teradata-0.19.0.4-py3-none-any.whl
- Upload date:
- Size: 23.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7af9df5e2923ca0baf0fe2da228505522de3792dab10a1f94cdf5a0834601e9
|
|
| MD5 |
a8db8b885d4d023df7a5bd98e1ef4c9b
|
|
| BLAKE2b-256 |
4ec4eca091ff13ecaadf24f691d137431cc506154980dc545222eaa40d5fcf61
|