Skip to content

Instantly share code, notes, and snippets.

View siddiquebagwan's full-sized avatar

siddiquebagwan

View GitHub Profile
#/bin/bash
# export below listed environment variables before running the script
CLIENT_ID=${CLIENT_ID}
CLIENT_SECRET=${CLIENT_SECRET}
WORKSPACE_ID=${WORKSPACE_ID}
@siddiquebagwan
siddiquebagwan / ingest_script.py
Created March 2, 2022 07:55
DataHub Postgres Ingest Script
#!/usr/bin/python3
from datahub.ingestion.run.pipeline import Pipeline
DATAHUB_GMS_ENDPOINT = "http://localhost:8080"
HOST_PORT = "localhost"
DB_NAME="foo"