metadata-ingestion/docs/sources/db2/db2_post.md
Use the Important Capabilities table above as the source of truth for supported features and whether additional configuration is required.
The Db2 source is available on Windows x86_64, Linux x86_64, macOS x86_64, and macOS ARM.
It is not available on Linux ARM, and attempting to execute the source will result in an error.
This source has been tested against:
acryl-datahub[db2] package).acryl-datahub[db2] package). Note that, in some cases, this may require Db2 Connect.This source also includes nominal support for:
This source can connect to Db2 for IBM i (AS/400) directly using the IBM i Access ODBC Driver rather than using the default CLI driver that requires Db2 Connect.
This requires you to install the IBM i Access ODBC Driver along with an ODBC driver manager such as unixodbc.
To use the IBM i Access ODBC Driver rather than the default driver, specify the db2+pyodbc400 scheme in your ingestion configuration:
scheme: "db2+pyodbc400"
If you're using DataHub Cloud's Remote Executor, you can build a custom image with the ODBC driver included. For instance, to build a custom image, you might use the following Dockerfile:
FROM ${remote_executor_image} # Ask your DataHub account rep for the parent image name to use
USER root
RUN wget -P /etc/apt/sources.list.d/ https://public.dhe.ibm.com/software/ibmi/products/odbc/debs/dists/1.1.0/ibmi-acs-1.1.0.list
RUN apt-get update
RUN apt-get install -y ibm-iaccess
RUN apt-get clean
RUN rm -rf /var/lib/apt/lists/*
USER datahub
Module behavior is constrained by source APIs, permissions, and metadata exposed by the platform. Refer to capability notes for unsupported or conditional features.
If ingestion fails, validate credentials, permissions, connectivity, and scope filters first. Then review ingestion logs for source-specific errors and adjust configuration accordingly.