gcp Google Cloud Blog ·

Simplify Data Pipelines with BigQuery Identity Columns

blogdatagcpgaengineergcp-bigquery
feature

Google Cloud has launched identity columns in BigQuery, enabling automatic generation of sequential 64-bit integer values for unique identifiers within tables. This new feature simplifies data ingestion by offloading key generation to BigQuery, reducing pipeline complexity and boilerplate code for data engineers. It supports both `GENERATED ALWAYS AS IDENTITY` for full automation and `GENERATED BY DEFAULT AS IDENTITY` for optional manual overrides. The capability aims to streamline data architecture development and maintenance, working seamlessly with standard DML operations.

Features (1)
  • BigQuery adds identity columns for automated unique ID generation

    This new feature allows users to define columns that automatically generate sequential 64-bit integer values, simplifying unique identifier management within tables. It reduces pipeline complexity and boilerplate code by shifting ID generation to BigQuery, supporting both fully automated and overrideable options. These identity columns are defined within `CREATE TABLE` statements and integrate with standard DML operations.

Read the original announcement →

https://cloud.google.com/blog/products/data-analytics/bigquery-identity-columns-to-auto-generate-sequential-integers/

Related releases