Apache Iceberg's REST Catalog Just Got a Standard Way to Express Row and Column Security
If you move a table into Apache Iceberg, the pitch is that any engine can read it: BigQuery, Spark, Trino, whatever a client or an AI tool happens to be running. The part usually skipped is what happens to row-level security and column masking once a reader other than BigQuery shows up. Until now, the honest answer was that it depends entirely on whether that other engine bothered to implement its own version of the same rules. Last month, the Apache Iceberg project merged a change that gives every engine a shared, standard way to describe those rules in the first place.
What landed
The Apache Iceberg community merged a change to the REST Catalog specification (tracked as PR #13879) that adds, in Google’s own words from the Google Open Source Blog, “a standard, engine-neutral way to express column masking and row filtering.” Two Google Cloud engineers, Talat Uyarer and Sung Yun, co-authored the post, and the proposal passed the Apache Iceberg dev list with eight binding +1 votes and no objections.
This means that when an engine asks the catalog to load a table, the response can now include a read-restrictions object with two parts: a required-row-filter predicate, evaluated against the real, unmasked values, that rows have to pass before they’re allowed in a result set, and a required-column-projections list, keyed by field ID, telling the reader which transformation to apply to a given column. The spec defines nine specific masking actions, including mask-alphanum, show-last-4, replace-with-null, truncate-to-month, and two SHA-256 variants. If a reader can’t apply a restriction it’s been told about, the spec says it has to fail the query outright rather than return raw, partial, or empty results.
What it doesn’t do yet
Whilst the spec change describes the rules, it currently doesn’t make any engine follow them. Google’s own post is explicit about this: it “does not ship enforcement.” Implementing the nine masking actions in iceberg-core, the shared library most engines build on, is described as only just beginning. The whole mechanism also depends on what the post calls a trusted catalog-engine relationship; the catalog hands over the restriction, and the reader is trusted to actually apply it.
So a shared way to say “mask this column, filter these rows” now exists at the protocol level. Whether BigQuery, Spark, Trino, or anything else actually honours it when another engine’s catalog hands it that instruction is still to be defined.
Where BigQuery already stood, and the gap that’s left
This matters more than it might sound because of where BigQuery already is. Apache Iceberg managed tables in BigQuery already support column-level access control and row-level security today (authorised views are the one access-control feature explicitly not supported on them).
The moment a table is read by something else such as Spark, Trino, or an AI tool connecting directly to the catalog, those protections have never travelled with the data automatically. What exists today for that scenario is credential vending: the catalog can hand an external engine a short-lived, downscoped Cloud Storage access token, “scoped to the paths associated with the table and downscoped to the minimum required permissions,” enforced at the catalog, namespace, and table level.
In addition, on 16 November, Apache Iceberg views in BigQuery’s Lakehouse runtime catalog reached Preview, queryable from external engines including Spark and Trino through the Iceberg REST catalog endpoint, per BigQuery’s own release notes. It’s a new read path opening up through that same catalog, at the same time the access-control standard for that catalog is still only a spec, not an enforced behaviour.
Why this matters
The whole case for an open table format like Iceberg is that data isn’t locked to one vendor’s engine, and that’s a good thing. But it means a question we’d otherwise take for granted, “does this reader respect our masking rules,” stops being answered automatically by whichever platform the data happens to live in, and starts depending on whether every engine that might touch the table has actually implemented the same enforcement. Right now, for Iceberg’s REST catalog, the industry has just agreed on how to phrase the rule without anyone shipping the part that makes engines obey it.
Newsletter
Occasional notes on data, tracking & AI-readiness
No spam, no growth-hacking. Just an email when there's something worth reading.