Custom OpenMetadata connector to connect data from Dremio to OpenMetadata.
This connector uses the sqlalchemy-dremio package to establish a connection to Dremio over the arrow flight API.
Refer to the official OpenMetadata documentation for installing custom database connectors: https://docs.open-metadata.org/latest/connectors/custom-connectors
This Connector is currently implemented as CustomDatabase
connector and therefore the only way to configure any connection parameters is using the connectionOptions
.
config:
type: CustomDatabase
sourcePythonClass: metadata.ingestion.source.database.dremio.metadata.DremioSource
connectionOptions:
hostPort: <host>:<arrowFlightPort>
username: <username>
password: <password>
# optional
UseEncryption: False
disableCertificateVerification: True
Requirements:
- Access to a Dremio instance
Steps:
- Setup python venv and install dependencies with
pip install -e .
- Start openmetadata local stack
make local-openmetadata-stack
- Create
workflow.dremio.yaml
as a copy fromworkflow.dremio.template.yaml
- Configure
workflow.dremio.yaml
. Mainly editing connection credentials to Dremio and the jwtToken for OpenMetadata (e.g. from the ingestion bot) - Run / Debug ingestion
Or use the provided Run configuration for IntelliJ
metadata ingest -c ./workflow.dremio.yaml