Custom Openmetadata connector to connect data from Dremio to Openmetadata.
This connector uses the sqlalchemy-dremio package to establish a conncetion to Dremio over the arrow flight API.
This Connector is currently implemented as CustomDatabase
connector and therefore the only way to configure any connection parameters is using the connectionOptions
.
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 requirements
- 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
python.exe -m metadata ingest -c ./workflow.dremio.yaml