BigQuery Launches External Datasets Linked to Spanner for Federated Querying

October 04, 2024 at 6:43:34 AM

TL;DR Google's new BigQuery feature allows users to create external datasets linked to Spanner databases, currently in preview. Users can query Spanner data using GoogleSQL without moving it to BigQuery, and tables automatically reflect updates from Spanner. BigQuery users can query but not modify the data. Requires BigQuery User IAM role. Limitations include federated query constraints, unsupported Spanner column types, and no support for new tables.

BigQuery Launches External Datasets Linked to Spanner for Federated Querying

Google has announced a new feature in BigQuery that allows users to create external datasets linked to existing Spanner databases. This feature is currently in preview.

Key Features:

  1. Federated Querying: Users can query Spanner data using GoogleSQL without moving data to BigQuery storage.

  2. Automatic Sync: Tables in the external dataset automatically reflect updates made in the Spanner source.

  3. Read-Only Access: BigQuery users can query but not modify the external data.

Requirements:

  • Users need the BigQuery User (roles/bigquery.user) IAM role or equivalent permissions.

Limitations:

  • Federated query limitations apply.
  • Unsupported Spanner column types won't be accessible in BigQuery.
  • No data or metadata modifications allowed in BigQuery.
  • New table creation, views, or materialized views not supported in the external dataset.
  • PostgreSQL dialect in Spanner not supported.
  • Various BigQuery features like Write/Read API, row/column-level security, and data masking are not available.

Use Cases:

This feature is particularly useful for organizations wanting to analyze transactional Spanner data alongside other BigQuery datasets without data duplication or complex ETL processes.

While powerful, users should be aware of the feature's limitations and ensure it aligns with their specific data analysis needs before implementation.

Have more questions on this topic? Ask our AI assistant for in-depth insights.

Read more from sources 👇

The Only Digital Marketing Feed You'll Ever Need.

Stay informed your way. Tailored updates when and how you want them. 100% Free.

10,000+ Users

500+ Sources

1000+ Tools

Or

Related Posts

BigQuery Reference Panel Adds Schema Preview and Query Editing Features

BigQuery Reference Panel Adds Schema Preview and Query Editing Features

Google Cloud
Google Cloud

Official Source

Official Source

Google Cloud is a Official Source. The source has been verified by Swipe Insight team.

Official Source
AI marketing workflows made simple

AI marketing workflows made simple

Featured
Markifact
Markifact

Verified Sponsor

Verified Sponsor

Markifact is a Verified Sponsor. Want to get featured here? Contact us.

Verified Sponsor
BigQuery adds Gemini-powered data aggregation in Preview for easier data prep

BigQuery adds Gemini-powered data aggregation in Preview for easier data prep

Google Cloud
Google Cloud

Official Source

Official Source

Google Cloud is a Official Source. The source has been verified by Swipe Insight team.

Official Source
BigQuery adds WITH expressions for temporary variables in GoogleSQL queries

BigQuery adds WITH expressions for temporary variables in GoogleSQL queries

Google Cloud
Google Cloud

Official Source

Official Source

Google Cloud is a Official Source. The source has been verified by Swipe Insight team.

Official Source
BigQuery Update Enabling advanced runtime with short query optimizations in preview

BigQuery Update Enabling advanced runtime with short query optimizations in preview

Google Cloud
Google Cloud

Official Source

Official Source

Google Cloud is a Official Source. The source has been verified by Swipe Insight team.

Official Source
BigQuery Introduces New Vector Index Management and Data Loading Features

BigQuery Introduces New Vector Index Management and Data Loading Features

Google Cloud
Google Cloud

Official Source

Official Source

Google Cloud is a Official Source. The source has been verified by Swipe Insight team.

Official Source
BigQuery launches DISTINCT pipe operator for selecting unique rows in queries

BigQuery launches DISTINCT pipe operator for selecting unique rows in queries

Google Cloud
Google Cloud

Official Source

Official Source

Google Cloud is a Official Source. The source has been verified by Swipe Insight team.

Official Source
BigQuery sets default on-demand query limit to 200TB per day from September 2025

BigQuery sets default on-demand query limit to 200TB per day from September 2025

Related Tools

Markifact logo

Markifact

Verified Tool

Verified Tool

Markifact is a Verified Tool. Want to get this badge? Contact us.

Verified Tool

Marketing Workflows Powered by AI

Featured
Marketing Auditor logo

Marketing Auditor

Verified Tool

Verified Tool

Marketing Auditor is a Verified Tool. Want to get this badge? Contact us.

Verified Tool

Automated audits for Google Ads and Analytics.

Get Featured Here

Showcase your tool in this list.

Contact Us
Databricks logo

Databricks

Generative AI-powered data intelligence platform

Data Engineering
GA4 SQL logo

GA4 SQL

Verified Tool

Verified Tool

GA4 SQL is a Verified Tool. Want to get this badge? Contact us.

Verified Tool

Generate GA4 BigQuery queries easily

Data Analysis
TapClicks logo

TapClicks

Automated marketing solutions powered by your data

Data Engineering
Stitch logo

Stitch

Automated cloud data pipelines, no coding needed

Data Engineering
Akkio logo

Akkio

AI-powered analytics for agencies

Data Analysis
NinjaCat logo

NinjaCat

AI-powered marketing data and analytics platform

Reporting
Funnel logo

Funnel

Aggregate and analyze marketing data seamlessly

Reporting
Fivetran logo

Fivetran

Effortlessly centralize and move data from any source

Data Engineering

Get Featured Here

Showcase your tool in this list.

Contact Us