Skip to content

andymalo43/dbt-db2fori

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SQLPL 51.4%
  • Python 48.6%