dbt adapter for IBM db2 for i
Project description
dbt-db2fori
A dbt adapter for IBM's DB2 for i v7.2+. The connection to the warehouse is through ODBC
and requires that pyodbc
is installed. All credits to dbt-sqlserver adapter and dbt-ibmdb2 projects that heavily inspired this adapter.
Why this adapter?
A similar adapter dbt-ibmdb2 exists, however, dbt-ibmdb2 uses the ibm_db
Python package to connect to IBM DB2. This adapter connects to the warehouse using pyodbc
Features
The following materializations are supported:
- Incremental
- Snapshot
- View
- Table
Ephemeral models have not been tested yet.
Installation
Use pip to install:
pip install dbt-db2fori
An example profiles.yml
is:
default:
outputs:
dev:
type: db2_for_i
threads: 4
driver: IBM i Access ODBC Driver
system: system
username: username
password: password
database: db
schema: schema
target: dev
To report a bug or request a feature, open an issue
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
dbt_db2fori-1.0.1.tar.gz
(17.2 kB
view hashes)
Built Distribution
Close
Hashes for dbt_db2fori-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8f8cb1867f115012708ed3e113b96aaac913a5121a06e996939eee22413ba71 |
|
MD5 | 1f8e3eee1bc2ad0e9d17ccb46aa27841 |
|
BLAKE2b-256 | 74a1de1487acc6f2f13906ecd23ce63c62ba59e91752c7332891776aba4a7990 |