IBM DB2 Profile
Community plugin
Some core functionality may be limited. If you're interested in contributing, check out the source code for each repository listed below.
Overview of dbt-ibmdb2β
Maintained by: Community
Author: Rasmus Nyberg
Source: GitHub
Core version: v1.0.4
dbt Cloud: Not Supported
The package can be installed from PyPI with:
pip install dbt-ibmdb2
This is an experimental plugin:
- We have not tested it extensively
- Tested with dbt-adapter-tests and DB2 LUW on Mac OS+RHEL8
- Compatibility with other dbt packages (like dbt_utils) is only partially tested
Connecting to IBM DB2 with dbt-ibmdb2β
IBM DB2 targets should be set up using the following configuration in your profiles.yml
file.
Example:
~/.dbt/profiles.yml
your_profile_name:
target: dev
outputs:
dev:
type: ibmdb2
schema: analytics
database: test
host: localhost
port: 50000
protocol: TCPIP
username: my_username
password: my_password
Description of IBM DB2 Profile Fieldsβ
Option | Description | Required? | Example |
---|---|---|---|
type | The specific adapter to use | Required | ibmdb2 |
schema | Specify the schema (database) to build models into | Required | analytics |
database | Specify the database you want to connect to | Required | testdb |
host | Hostname or IP-adress | Required | localhost |
port | The port to use | Optional | 50000 |
protocol | Protocol to use | Optional | TCPIP |
username | The username to use to connect to the server | Required | my-username |
password | The password to use for authenticating to the server | Required | my-password |
Supported featuresβ
DB2 LUW | DB2 z/OS | Feature |
---|---|---|
β | π€· | Table materialization |
β | π€· | View materialization |
β | π€· | Incremental materialization |
β | π€· | Ephemeral materialization |
β | π€· | Seeds |
β | π€· | Sources |
β | π€· | Custom data tests |
β | π€· | Docs generate |
β | π€· | Snapshots |
Notesβ
- dbt-ibmdb2 is built on the ibm_db python package and there are some known encoding issues related to z/OS.