Skip to content

Google Cloud Spanner driver #2480

Closed

Description

@datlechin

Problem

Spanner is not supported.

Proposed solution

A registry plugin over the Spanner REST API:

  • Service-account JSON and application default credentials, matching BigQuery.
  • Project, instance and database on the connection form.
  • Session lifecycle handled inside the plugin.
  • Both GoogleSQL and PostgreSQL dialects, picked from the database's own dialect rather than a setting.
  • Read-only and read-write transactions surfaced, since Spanner charges differently for each.

Alternatives considered

gcloud spanner databases execute-sql.

Related database type

N/A / General

Activity

  1. added
    enhancement
    on Aug 26, 2026
  2. J2TeamNNL commented on Sep 10, 2026

    @J2TeamNNL
    Contributor

    Opened a PR for Google Cloud Spanner: #2712
    It also covers the older community request in #1226 (Spanner + Cockroach). Cockroach is already shipped via the PostgreSQL plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions