BigQuery in the Right Lane: Five Checkpoints for AI Data Pipelines
A five-checkpoint workflow for keeping BigQuery in the right lane: land and shape data once, tune partitions and history windows, and federate instead of copying.
Loading…
Topic
32 posts about Apache Iceberg. Every summary links to the original.
See the idea
A five-checkpoint workflow for keeping BigQuery in the right lane: land and shape data once, tune partitions and history windows, and federate instead of copying.
Apache Iceberg replaces Hive's partition-based metadata with a versioned catalog layer, trading operational simplicity for ACID guarantees, schema evolution, and cross-engine compatibility.
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Databricks announced support for catalog labels, a new capability in the Apache Iceberg REST Catalog API that enables platforms, engines, and agents to access shared context such as business purpose, ownership, and data classifications. This shared context supports discovery, governance, and agentic workflows across the data and AI ecosystem. Databricks worked with the Apache Iceberg community to add an optional labels field to the Iceberg REST LoadTable response, providing a standard way to expose table- and column-level context. Databricks also introduced Tag Exchange, which exposes Unity Catalog’s table- and column-level tags through catalog labels, allowing enterprises to reuse classifications for discovery, agent workflows, and access policies. The initiative is supported by Google Cloud, Salesforce, ClickHouse, Atlan, Collibra, DataHub, Immuta, Trust3 AI, PhoenixAI, and Datastrato.
Aderant modernized its Stridyn analytics pipeline using Apache Iceberg, AWS Lambda, and AWS Glue, replacing a 15-minute batch cycle with event-driven processing. The new architecture handles 380 million CDC events per month across 700 client environments and 266 source tables, processing changes in single-digit seconds. It uses a medallion architecture (bronze, silver, gold) on Iceberg tables in S3, with Lambda functions deployed as Docker containers for ingestion and AWS Glue for transformations. The system achieved 10–26x faster query performance on Amazon Redshift and a 77 percent cost reduction compared to streaming alternatives. Key design choices include Iceberg for ACID transactions and schema evolution, DynamoDB-based watermarking for exactly-once semantics, and a hybrid gold-layer strategy using incremental Glue jobs and materialized views with snapshot comparison.
United Airlines built a near-real-time Change Data Capture (CDC) pipeline from an operational Amazon Aurora MySQL database to Apache Iceberg tables using AWS managed services, replacing a legacy batch process that caused stale data. The pipeline uses AWS DMS to capture changes, Amazon Kinesis Data Streams for buffering, an AWS Lambda function to parse the CDC record format, and Amazon Data Firehose to write Parquet files to Iceberg on Amazon S3 and commit new snapshots. Queries scanning more than 10 million rows no longer hit bottlenecks, average query latency improved 5x, and total job processing time dropped 2x. The provided CloudFormation template automates replication of a single source table, with Firehose handling Iceberg commits, while the Lambda transform is engine-specific. End-to-end latency can be as low as 10 seconds, adjustable via the Firehose buffer interval, and the data is queryable from AWS Glue, Amazon Redshift, and Amazon Athena.
Bright Machines solved the problem of sharing factory data from air-gapped plants by capturing PostgreSQL changes at the edge with Debezium Server, which writes an append-only Apache Iceberg change log to a local object store. A single edge component copies objects to a cloud bucket over one auditable outbound path, and cross-account replication carries them to the analytics account. Databricks reads the Iceberg tables in place through Unity Catalog federation via AWS Glue, eliminating inbound access or data copies. The architecture replaced nine loosely coupled services that suffered from schema evolution and missing monitoring with one governed platform plus one edge path, achieving row-level freshness of one to two minutes. A heartbeat check detects pipeline failures in under thirty minutes, and the first customer-visible dashboard went live about two months after kickoff.
Organizations keep data in open table formats like Apache Iceberg but often copy it into separate systems for fast analytics, incurring cost, staleness, governance sprawl, and lock-in. Amazon S3 Tables provide fully managed Iceberg storage, and ClickHouse offers high-performance real-time analytics. This post demonstrates connecting ClickHouse to S3 Tables through the Iceberg REST endpoint using the DataLakeCatalog database engine, enabling in-place querying and writing without data migration. ClickHouse reads only relevant Parquet objects from S3 and commits writes via atomic pointer swaps through the catalog. The same read-transform-write pattern extends to AI agent workloads needing fast iterative access to analytical results.
Delta Sharing, the open protocol for zero-copy data sharing, evolved into OpenSharing in June 2026 under the Linux Foundation AI & Data Foundation. OpenSharing extends the protocol beyond tables to include agent skills, AI models, volumes of unstructured files, and other assets needed for agentic AI workflows. Technically, it introduces a Share -> Schema -> Asset hierarchy, adds support for Apache Iceberg REST Catalog compatible clients, and enables on-premises sharing through the Databricks Storage Ecosystem without data migration. It retains Delta Sharing’s zero-copy credential vending model, making existing Delta Sharing clients and integrations compatible. OpenSharing also adds capabilities like SecureConnect for simplified network setup and Global Distribution for reducing latency across regions, with foreign Iceberg table sharing in Public Preview and community proposals for vector indexes and synthetic datasets on the roadmap.
Amazon S3 Annotations lets you attach governance context directly to S3 objects without rewriting them. Each object version can hold up to 1,000 annotations, each 1 byte to 1 MB in UTF-8 format such as JSON. Annotations travel with the object during copy or replication, remain readable in cold storage like Glacier Deep Archive without restoration, and can be updated in place without changing the object’s ETag. The pattern uses a governance annotation payload capturing classification, retention, jurisdiction, PII, and rationale, and supports backfill of existing objects. At scale, an S3 Metadata annotation table backed by Apache Iceberg enables SQL querying via Amazon Athena for governance questions like which objects hold PII and have expired retention across large object populations.
An open catalog requires storage you own, full features on that storage, and the ability to move tables without copying data. Unity Catalog in Databricks’ Open Lakehouse meets all three by keeping managed tables in customer-owned cloud storage. It supports REGISTER and UNREGISTER from the Apache Iceberg REST catalog spec, enabling tables to enter or leave without data movement. Databricks contributed UNREGISTER to the Iceberg REST catalog spec, making this an open standard. On other platforms, customer-owned storage often lacks features like fail-safe recovery or automatic compaction, pushing users toward provider-controlled storage.
Databricks made multi-statement transactions generally available on Delta Lake and Apache Iceberg tables, providing atomic guarantees for complex, multi-step workflows directly on the lakehouse. Previously, organizations had to rely on separate warehouse systems for these transactional guarantees, adding expensive data movement, duplicate copies, fragmented governance, and custom consistency workarounds. Row-level concurrency enables concurrent transactions to write to the same table as long as they do not update the same row, delivering significantly stronger performance than traditional cloud and legacy warehouses. The transactions are composable with stored procedures, temporary tables, and streaming tables, and they respect Unity Catalog attribute-based access controls including row-level security and column masking on both reads and writes. Fivetran used transactions to remove consistency-repair code for its slowly changing dimension updates using SCD Type 2, and Accolade processes roughly 1,700 transactions daily for claims and liabilities on the governed lakehouse.
Data warehouses have been the standard for structured SQL analytics for two decades but cannot serve modern AI, ML, streaming, and unstructured data workloads. The data lakehouse now matches warehouse SQL performance while serving all these workloads from a single governed foundation. Databricks Lakehouse improved production SQL workload performance by 77% from a 2022 baseline, with BI queries improving 14% over a recent five-month period. Customer migrations show 90% faster queries and 30–40% cost reduction at Lumen Technologies, and 80–90% faster analytics at Trek Bicycle. The lakehouse eliminates redundant data copies, supports open formats like Delta Lake and Iceberg, and extends governance to AI agents through Unity Catalog and Unity Gateway.
The post explains how the REGISTER and UNREGISTER APIs in the Apache Iceberg REST catalog specification enable table portability between catalogs without copying or moving data files. REGISTER attaches an existing table to a new catalog by providing the metadata location, but using it alone creates a split-brain scenario where two catalogs both think they own the table, leading to inconsistent writes and data loss. The UNREGISTER endpoint, contributed to the specification, cleanly removes the table from the old catalog and returns the latest metadata pointer needed by the next catalog. The handoff process combines unregister, receiving the location, and register to ensure exactly one managing catalog at all times. Unity Catalog supports these endpoints in private preview, allowing organizations to move tables between catalogs as their architecture evolves.
Cloudflare announced the general availability of Basin, a serverless data analytics platform built on Apache Iceberg and R2 Object Storage. Basin consists of three integrated products: Pipelines for ingesting and transforming events via SQL, Catalog for managing Iceberg metadata and automatic table maintenance, and SQL for distributed querying. The platform emphasizes speed with instant resource creation and query execution, scalability through metadata compaction and statistics-driven query planning, and openness by supporting any Iceberg-compatible engine like DuckDB and Snowflake. Basin offers cost efficiency with zero egress fees and usage-based pricing, charging only when data is ingested, processed, or queried. Early adopters have used Basin for use cases including real-time e-commerce optimization, billing metrics storage, and infrastructure telemetry analysis.
The Apache Iceberg community has adopted two additions to the Iceberg REST Catalog — read restrictions and catalog labels — each addressing distinct governance challenges. Read restrictions standardize delegated enforcement: a catalog evaluates policy for a principal and returns column-projection actions and row-filter expressions from a bounded vocabulary for a trusted engine to enforce. Catalog labels enable portable governance by allowing catalogs to exchange opaque key-value metadata at table and column level, so a consuming catalog applies native policies without per-user calls to the source. Read restrictions suit engine-to-catalog access where the source catalog trusts the engine and policies fit the standard vocabulary, whereas catalog labels fit federation between heterogeneous catalogs needing scalable governance and independent audit trails. These building blocks, along with centralized enforcement via cross-engine ABAC, advance the vision of unified governance across the open lakehouse.
ClickHouse announced a significant expansion of its strategic collaboration with Microsoft at The European Microsoft Fabric + SQL Community Conference, including the public preview of a native ClickHouse workload for Microsoft Fabric that brings sub-second analytical query latency to OneLake. The company also made generally available the ability to read Apache Iceberg tables from OneLake using OneLake Table APIs, and introduced a public preview of writing Iceberg tables back to OneLake. These capabilities eliminate data duplication and ingestion steps, allowing teams to keep OneLake as the governed single source of truth while leveraging ClickHouse’s speed. ClickHouse Bring Your Own Cloud (BYOC) is now available in the Microsoft Marketplace, enabling customers to run ClickHouse Cloud inside their own Azure tenant with full control over IAM, networking, and encryption. The integrations aim to serve real-time agentic workloads, interactive dashboards, and observability without separate cluster provisioning or ETL pipelines.
ClickHouse previously wrote Iceberg tables to object storage without catalog registration, limiting their discoverability. Now it writes Iceberg tables directly to Microsoft OneLake, registering in the catalog via Iceberg REST Table APIs and securing with OneLake Security. Use cases include AI agents monitoring order data and publishing real-time anomaly detection results to OneLake, and applications writing directly via ClickHouse without a separate ingestion layer. The connection uses the DataLakeCatalog engine with catalog_type=‘onelake’, warehouse parameter combining workspace and lakehouse IDs, and Microsoft Entra ID service principal authentication; writing uses standard INSERT INTO syntax with backtick-quoted namespace.table names. OneLake automatically syncs Iceberg and Delta Lake formats, provides governance with lineage tracking and data protection, and its security APIs are opening to third-party engines; this is the first catalog to support writes from ClickHouse, with more catalogs planned.
Databricks has placed support for Apache Iceberg v3 into Public Preview, bringing new table-format capabilities to its open lakehouse. Unity Catalog Managed Iceberg v3 tables support Row Lineage, Deletion Vectors, and the VARIANT type, while interoperability extends these features to foreign Iceberg tables. Row IDs and modification sequence numbers identify changed rows, and lightweight delete files avoid immediate Parquet rewrites, with data manipulation reported as up to 10x faster than copy-on-write. VARIANT stores evolving semi-structured payloads beside relational columns for direct SQL querying, while Unity Catalog provides cross-catalog governance and Delta-Iceberg interoperability without data duplication. Iceberg v3 is available on Databricks Runtime 18.0+ with Unity Catalog enabled; Databricks is also advancing Iceberg v4 metadata proposals.
Apache Iceberg’s REST Catalog additions—read restrictions and catalog labels—address different cross-platform governance problems: delegating enforcement to trusted engines and carrying governance context across federated catalogs. Read restrictions let a catalog evaluate policy for a principal and return bounded column-projection actions and row-filter expressions that a trusted engine must enforce, while leaving trust establishment outside the protocol. Catalog labels exchange opaque key-value metadata at table and column level, allowing a consuming catalog to map classifications locally, preserve native policy expressiveness, and maintain its own audit trail. Together with centralized enforcement through Cross-Engine ABAC, they provide distinct options for direct access and catalog federation, although read restrictions cannot express policies outside their standardized vocabulary.
Rippling describes an architecture in which Databricks writes some tables while Trino, Snowflake, and other lakehouse engines read them, making catalog ownership a design decision rather than a metadata detail. Its rule is that the catalog follows the writer: AWS-native workloads use Glue, Databricks workloads use Unity Catalog, and Snowflake-produced shared data uses Horizon Catalog with Snowflake-managed Iceberg tables. For selected Databricks outputs, Unity Catalog-managed Apache Iceberg stores table data and metadata in Rippling-owned S3, exposes access through the Iceberg REST Catalog API or federation, and uses credential vending for scoped storage access. This lets downstream engines read Parquet directly without duplicate materialization or producer-side query execution. Databricks also provides Predictive Optimization for maintenance, while the trade-off is continued Unity Catalog dependence for metadata, permissions, lineage, and lifecycle.
Grab is transitioning its petabyte-scale data lake from Hive Parquet tables managed through the Hive Metastore to a table-centric architecture centered on Apache Iceberg, while retaining storage-compute separation on S3. The move addresses catalog listing latency, severe small-file fragmentation, manual partition registration, absent native ACID operations, and catalog state becoming stale after direct S3 changes. Rather than converting the entire lake at once, Grab prioritizes high-value tables and uses features such as Z-ordering; representative workloads cut one query from 70 seconds to 6, reduced daily S3 API costs by up to 95%, and halved cluster resource usage. Its open-sourced UnifiedSparkCatalog detects table formats through metastore metadata or path inference and routes operations to the appropriate Spark catalog without format-specific prefixes. Deployment also required resolving Hive lock contention, timestamp incompatibilities, and storage-tier cost spikes.
OpenSharing is presented as the next evolution of Delta Sharing, extending an open zero-copy data-sharing protocol from tables and files to models, agents, semantic context, unstructured data, and reusable AI logic. The protocol is now an independent open-source project hosted by the Linux Foundation, while Databricks OpenSharing adds Unity Catalog governance and audit logging, Marketplace discoverability, and enterprise features. Genie Agent Sharing supports governed AI experiences across organizational boundaries, with controls for proprietary instructions, data access, daily prompt quotas, and row exports. SecureConnect removes per-recipient firewall changes through a Databricks-managed proxy, while Global Distribution uses local replicas to reduce egress fees and latency. The launch also supports Apache Iceberg REST Catalog API, external catalogs, and on-premises storage partners; providers define shares in Unity Catalog, recipients query live data through existing tools, and governance enforces access controls.
The best engineering reads, once a week.