Skip to content

Latest commit

 

History

History
58 lines (45 loc) · 2.3 KB

README.md

File metadata and controls

58 lines (45 loc) · 2.3 KB

openmetadata-dremio-connector

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.

Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge

Installation

Refer to the official OpenMetadata documentation for installing custom database connectors: https://docs.open-metadata.org/latest/connectors/custom-connectors

Configuration

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

Local Dev Stack

Requirements:

  • Access to a Dremio instance

Steps:

  1. Setup python venv and install dependencies with pip install -e .
  2. Start openmetadata local stack
    make local-openmetadata-stack 
  3. Create workflow.dremio.yaml as a copy from workflow.dremio.template.yaml
  4. Configure workflow.dremio.yaml. Mainly editing connection credentials to Dremio and the jwtToken for OpenMetadata (e.g. from the ingestion bot)
  5. Run / Debug ingestion
    metadata ingest -c ./workflow.dremio.yaml
    Or use the provided Run configuration for IntelliJ