type = 'delta' reads a Delta table’s transaction log directly, so the table doesn’t need Iceberg reads (UniForm) turned on. Delta tables that do have UniForm can still be read as Iceberg through Unity Catalog.
You point Pinot at a table in one of two ways:
Unity Catalog prerequisites
-
The workspace URL as
catalog_uri, with nothing after the host:This is the workspace URL itself, not the/api/2.1/unity-catalog/iceberg-restURL used for Iceberg tables. Other hosts, including custom domains, are rejected. -
A principal to authenticate as: a service principal with an OAuth secret (OAuth M2M), or a personal access token. Pinot gets OAuth tokens from the workspace’s
/oidc/v1/tokenendpoint with theall-apisscope. You can’t change either. -
Grants for that principal:
USE CATALOGon the catalog,USE SCHEMAon the schema, andSELECTon the table. To have Unity vend storage credentials (storage.access_policy = 'unity'), also grantEXTERNAL USE SCHEMAon the schema and turn on external data access for the metastore. Prepare Databricks shows how to create the principal and run the grants.
Create the table
From Unity Catalog with OAuth, on S3 with Unity-vended credentials:POST /sql/ddl as described in SQL DDL. Add ?dryRun=true to compile and validate without creating anything. Pinot picks the snapshot it will start from, infers the schema from that snapshot, reads one data file to check storage access, and creates an OFFLINE table.
- OAuth.
client_idandclient_secretimplyauth_type = 'oauth'. Leave outoauth_scopeandoauth_token_uri; they’re rejected. - Personal access token. Replace the two OAuth lines with
token = 'srn2:secret#<pat-reference>'. Use OAuth or a token, not both. - Authentication is required for a Unity table, even when storage uses your own keys.
table_namedefaults to the Pinot table name.catalog_typeis optional, andunityis the only value it takes.- Deleted rows. Add
'enableDeletionVectors' = 'true'to hide rows deleted through Delta deletion vectors. Without it, those rows stay visible.
Storage
With
unity, Unity issues read-only credentials scoped to the table’s storage location, and Pinot renews them before they expire. With gcs-adc, Pinot reads GCS as StarTree’s Google identity. Grant it storage.objects.get and storage.objects.list on the bucket; the Storage Object Viewer role covers both. Contact StarTree support for the identity to grant.
A table by storage path
Without Unity, setlocation to the Delta table’s root:
locationmust be an object-store path starting withs3://,s3a://,gs://,abfs://orabfss://.catalog_name,auth_type,token,client_idandclient_secretare rejected, and so isstorage.access_policy = 'unity'. There’s no catalog to vend credentials.schema_nameandtable_nameare optional. They only label the table.- For GCS, use
storage.provider = 'gcs'and grant StarTree’s Google identity as above. For Azure, use a SAS token.
Table config
If you manage table configs directly, put these keys in theExternalTableSyncTask section of the OFFLINE table config:
After the first sync, Pinot adds
catalog.delta-unity.sourceIdentity to the config. Don’t change or remove it.
Run the first sync
DDL doesn’t run a sync. Wait forrefresh_interval, or start one now:
Snapshots
snapshot_mode = 'latest', the default, starts from the newest version.snapshot_mode = 'snapshot_id'withsnapshot_id = '<id>'starts from a specific snapshot. The ID is Pinot’s encoded snapshot ID, not a Delta version number. Settingsnapshot_idalone implies this mode.snapshot_mode = 'earliest'isn’t supported.- After the first sync, every sync moves to the newest version.
What’s supported
- Delta reader features: deletion vectors, column mapping,
timestampNtz, type widening, V2 checkpoints,vacuumProtocolCheck, and variant types, including shredded variants. Partitioned and liquid-clustered tables work. - Catalog-managed tables (the
catalogManagedtable feature). Pinot reads the commits published to the table’s_delta_log. A commit Unity has accepted but not published yet isn’t visible until it’s published, so the table in Pinot can trail Databricks. To refuse these tables instead, add'catalog.delta-unity.catalogManaged.readPublishedLog' = 'false'.
Limits
- Snapshot size. One snapshot can list up to 100,000 data files and about 64 MiB of file metadata, which counts paths, statistics, partition values and inline deletion vectors. A larger snapshot fails without syncing part of it. Compact the table, or contact StarTree support about raising the limits.
- Version number. Tables past Delta version 2,097,151 are refused.
- Refused tables. Views, shallow clones, and Unity tables in other formats. Serve the source table or a deep clone instead of a shallow clone.
- Refused features. Unknown reader features, type changes Pinot can’t apply to older files, and nested fields whose physical names differ from their logical names (column-mapping renames inside structs, arrays or maps). Top-level renames work.
- Files outside the table. Data files or deletion vectors stored outside the table’s root are refused.
- One source per table. On its first sync, Pinot binds the table to the Delta table’s identity. If the Delta table is dropped and recreated, or replaced, create a new Pinot table with a new name. Reusing the name of a deleted Pinot table can also fail, so pick a new name.
- No switching formats. You can’t change an existing table between
type = 'delta'and Iceberg. Create a new table.
Common errors
Errors from the catalog connection arrive wrapped asFailed to resolve the external table '<schema>.<table>' from the catalog: <cause>. Errors about the table itself, such as views, clones and unsupported features, arrive unwrapped.
Not supported
- The Data Portal wizard.
- Delta tables registered in catalogs other than Unity Catalog. Read them by
locationinstead.

