How to Migrate from PostgreSQL to Databricks
Skippr is the easiest way to migrate from PostgreSQL to Databricks and get fully cleansed and modeled data in one run command.
Source: PostgreSQL. Destination: Databricks.
Sample config
yaml
skippr:
workspace: postgres_to_databricks
pipelines:
postgres_to_databricks:
data_source: data_sources.source
data_sink: data_sinks.warehouse
data_sources:
source:
Postgres:
host: localhost
port: 5432
user: myuser
password: mypass
database: mydb
data_sinks:
warehouse:
Databricks:
workspace_url: "${DATABRICKS_HOST}"
token: "${DATABRICKS_TOKEN}"
warehouse_id: "${DATABRICKS_WAREHOUSE_ID}"
catalog: main
schema: defaultEnvironment
bash
export DATABRICKS_HOST="https://myworkspace.cloud.databricks.com"
export DATABRICKS_TOKEN="dapi..."
export DATABRICKS_WAREHOUSE_ID="abc123def456"Source connector: postgres. Destination connector: databricks.
See Quick start.
