Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: databricks/databricks-sql-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: databricks/databricks-sql-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: spog-fix
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 7 files changed
  • 1 contributor

Commits on Apr 6, 2026

  1. Add SPOG routing support for account-level vanity URLs

    SPOG replaces per-workspace hostnames with account-level URLs. When
    httpPath contains ?o=<workspaceId>, the connector now extracts the
    workspace ID and injects x-databricks-org-id as an HTTP header on all
    non-OAuth endpoints (SEA, telemetry, feature flags).
    
    Changes:
    - Fix warehouse ID regex to stop at query params ([^?&]+ instead of .+)
    - Extract ?o= from httpPath once during session init, store as _spog_headers
    - Propagate org-id header to telemetry client via extra_headers param
    - Propagate org-id header to feature flags client
    - Do NOT propagate to OAuth endpoints (they reject it with 400)
    
    Signed-off-by: Madhavendra Rathore <madhavendra.rathore@databricks.com>
    
    Co-authored-by: Isaac
    Signed-off-by: Madhavendra Rathore <madhavendra.rathore@databricks.com>
    msrathore-db committed Apr 6, 2026
    Configuration menu
    Copy the full SHA
    efcea13 View commit details
    Browse the repository at this point in the history
Loading