ADBC 1.2 Planning: Metadata API, Credential Callbacks, Vendor Actions and What Driver Authors Should Expect
ADBC 1.2 is the next revision of the Arrow Database Connectivity API, not a driver release.

ADBC 1.2 is the next revision of the Arrow Database Connectivity API, not a driver release. A Nov 24, 2026 planning session agreed on a credential callback limited to calling SetOption, on JSON structured error details, and on vendor actions for state-changing operations. A metadata API is close to agreement, async is out of scope, and there is no target date.
If you maintain an ADBC driver, or you build tools on top of ADBC, version numbers in this project are confusing. There are two kinds. Driver libraries ship releases with their own numbers, such as the ADBC 25 release line. The API specification has its own versions: 1.0.0, then 1.1.0, and now 1.2.0 in planning. A driver release can implement an older spec version. A new spec version changes what drivers are expected to support.
This article is about the spec. On November 24, 2026, seven contributors held a planning session for ADBC 1.2: Bryce Mecum, Curt Hagenlocher, David Li, Felipe Oliveira Carvalho, Ian Cook, Kent Wu, and Tornike Gurgenidze. Ian Cook posted the summary to the Arrow dev list that evening. Here’s what it means for the people who’ll implement it.
A Quick Refresher on ADBC
Arrow Database Connectivity (ADBC) is an API for talking to databases that returns results as Apache Arrow data. It plays the role that JDBC and ODBC play, with one big difference. JDBC and ODBC return rows, so a columnar database converts its columnar results to rows for the driver, and an analytics client converts them back to columns. ADBC returns Arrow record batches end to end, so no conversion happens when both sides are columnar.
The API is defined in C as a header, adbc.h, with a stable application binary interface (ABI). Drivers implement the C functions. A driver manager loads drivers at runtime. Bindings in Python, Go, Java, C#, Rust, and R wrap the same API. Apache Arrow Flight SQL, PostgreSQL, SQLite, Snowflake, BigQuery, and many other systems have ADBC drivers.
The ABI’s stability is the constraint that shapes almost every decision in the planning session. Adding a function to the C ABI means every driver and every driver manager has to deal with it. So the project strongly prefers to add capability through options on existing objects rather than new functions.
What 1.1 Already Added
ADBC 1.1.0 extended the original 1.0 API with features such as option getters, statement cancellation, schema-only execution, table statistics, and richer error details. Those additions followed the same principle 1.2 is following now. Extend through options and well-defined hooks, and keep the ABI change small and versioned.
That’s the context for reading the 1.2 plan. Each item answers the question “how do we add this without growing the ABI more than necessary?”
Scope and Process
The 1.2.0 milestone had 36 open items going into the session. Many were closely related metadata issues, some were duplicates, and some were already done. David Li took the job of cleaning up the milestone, merging the metadata issues into one, and posting a status summary of items that need community attention.
Two scope decisions came out of the session. Async is out of scope for 1.2. An asynchronous API is a large design effort, and it isn’t blocking the other items. No target date was set.
David proposed a process that’s worth noting for anyone planning around 1.2. Write all definitions first. Implement each one in at least one driver, ideally Flight SQL or PostgreSQL. Revise based on what implementation teaches. Then hold a vote. That’s a sensible order for an ABI-stable spec. It also means 1.2 lands when the implementations are done, not on a calendar.
The Metadata API
The biggest item is a generic metadata API, proposed in pull request #4694, opened by David Li on August 17, 2026. The session summary says the approach is mostly agreed and waiting on final comments. Fields that hold an Arrow schema are left out for now, with room to add them later.
The design borrows from ADO.NET’s GetSchema. Instead of adding a new C function for every kind of metadata, it reuses statements:
- The client creates a statement.
- It sets the option
adbc.metadata.collectionto name a metadata collection. - It sets filter options, such as
adbc.metadata.filter.schemaoradbc.metadata.filter.routine. - It calls
AdbcStatementExecuteQueryorAdbcStatementExecuteSchema. - The result is an Arrow stream whose schema is defined by the collection.
Every driver must implement a meta collection that lists the collections it supports. Standard collections cover tables, columns, routines, constraints, and foreign keys. Drivers can add their own collections, but they must use a vendor-specific prefix, never adbc.. A pagination token option, adbc.metadata.pagination_token, lets clients resume long metadata fetches across calls.
Here’s what a metadata call looks like in C under the proposal. The ADBC functions are the existing API. The option keys are from the open PR, so check them against the final spec:
struct AdbcStatement stmt;
struct AdbcError error = ADBC_ERROR_INIT;
struct ArrowArrayStream stream;
int64_t rows_affected = -1;
AdbcStatementNew(&connection, &stmt, &error);
/* Proposed in arrow-adbc PR #4694: choose a metadata collection and filter it */
AdbcStatementSetOption(&stmt, "adbc.metadata.collection", "tables", &error);
AdbcStatementSetOption(&stmt, "adbc.metadata.filter.schema", "sales", &error);
/* Existing ADBC call: results arrive as an Arrow stream */
AdbcStatementExecuteQuery(&stmt, &stream, &rows_affected, &error);
/* ... consume record batches from stream, then release ... */
stream.release(&stream);
AdbcStatementRelease(&stmt, &error);
AdbcStatementNew creates a statement on an open connection, exactly as for a SQL query. The two AdbcStatementSetOption calls are the whole new surface. One picks the collection, the other narrows it to one schema. AdbcStatementExecuteQuery runs it and fills an ArrowArrayStream with Arrow record batches, the same as any query result. The last two lines release the stream and the statement. Error checks are left out for space. Production code checks every returned status code.
The design choice to notice is what’s missing. There’s no AdbcConnectionGetTables function and no new ABI entry at all. The PR also deliberately leaves the existing GetObjects function unchanged, reverting earlier changes to it. New capability arrives through options on an object every driver already implements. The PR also aims to fix two long-standing pain points, search pattern escaping and pagination.
Prototype implementations exist in driverbase-rs and in a DataFusion draft. David has suggested merging the PR before 1.2.0 ships, possibly behind an experimental flag.
The Credential Callback
The second item is a callback for refreshing credentials, tracked in issue #4231 with work in PR #4945.
The problem is familiar to anyone running long-lived connections against cloud databases. Tokens expire. OAuth access tokens often last an hour. A connection pool that holds connections for a day needs a way to hand drivers fresh credentials without tearing down every connection.
The agreed semantics are narrow on purpose. The callback supplies a new credential by calling SetOption on the connection. It doesn’t return credential values to the driver through a new data structure. And the spec must say that the callback does nothing else with the connection.
The restriction makes sense when you think about when the callback runs. A driver calls it in the middle of its own work, perhaps while preparing a request or handling an authentication error. A callback that executes queries or changes other state on the same connection re-enters the driver in ways the driver isn’t built for. Limiting it to SetOption keeps the interaction small and predictable. The summary doesn’t state a rationale, so read that as my reading of the design.
Curt Hagenlocher is updating the issue and PR. The summary notes the choice stays open to revision after a driver implementation, which fits David’s implement-then-vote process.
For driver authors, the practical work is to make credential options settable on a live connection and to call the callback at the right moment, usually before a token’s expiry or on an authentication failure, then retry.
Structured Error Details: JSON Over Variant
The third item concerns error details, tracked in issue #4242.
Database errors carry more than a message and a code. They carry the position of a syntax error, the constraint that failed, the query ID for support, and vendor-specific diagnostics. Clients want those details in a form they can parse, not buried in message text.
The session considered two encodings. One was Parquet’s Variant type, the semi-structured binary encoding added to Parquet and Arrow ecosystems for JSON-like data. The other was plain JSON. The decision was JSON, because it’s more widely supported. The summary notes that PyArrow doesn’t yet support Variant. With Variant, Python clients, one of ADBC’s biggest audiences, have no easy way to read details today.
The JSON structure itself is left to each driver. That’s a pragmatic choice that trades consistency for speed. Clients get parseable details now. Cross-driver error handling still has to know each driver’s shape.
For driver authors, the work is to produce valid JSON with stable keys. Treat the keys as a public contract, since clients will write code against them.
Vendor Actions: The Escape Hatch
The fourth item is a general mechanism for vendor-specific operations, tracked in issue #4771 with a draft in PR #5056.
Every database has operations that don’t fit a generic API: refreshing a materialized view, triggering compaction, warming a cache, switching a compute cluster. Without an escape hatch, client libraries either drop to raw SQL with vendor syntax or ask the ADBC project to add each operation to the spec.
The agreed approach reuses statements again:
- The client sets the
adbc.actionoption on a statement to name the action. - It binds any parameters.
- It executes the statement.
Two rules define the boundary. Actions are for operations that change state. Metadata calls, which are read-only, go through the metadata API instead. And if an action proves common to several drivers, a standard name can be defined later without changing the ABI. That second rule is the clever part. Vendors experiment with action names. Patterns that spread get standard names. The ABI never changes for any of it.
David Li is adding examples to the header to make the usage concrete.
Partitioned Bulk Ingest: A Test of the New Pattern
The fifth item shows the pattern in action. PR #4317 proposed partitioned bulk ingest, a way to load data in parallel partitions, which matters for loading large datasets fast.
The original proposal added new C API functions. The session reached no consensus on that, because the group prefers not to extend the ABI where existing functions can do the job. Tornike Gurgenidze is reworking the proposal to use actions and will report back. The summary notes the action design itself stays open to adjustment based on what that rework finds.
That’s a healthy feedback loop. Bulk ingest is a demanding test case for the action mechanism. If actions can carry it cleanly, the mechanism is general enough. If not, the session learns where it needs to grow before 1.2 freezes.
The Pattern Behind All Five Items
Put the items side by side and one design principle explains all of them.
| Item | New C ABI functions | Mechanism |
|---|---|---|
| Metadata API | None | Statement options plus normal execution |
| Credential callback | Small hook | Callback limited to SetOption |
| Structured error details | None beyond existing error details | JSON payload |
| Vendor actions | None | adbc.action statement option |
| Partitioned bulk ingest | Being reworked to none | Actions |
ADBC 1.2 is growing by options and conventions, not by functions. That keeps the ABI stable, keeps driver managers simple, and lets drivers adopt features one at a time. The trade-off is that more meaning lives in option strings and payload formats, which are easier to get wrong than typed functions. That’s why the definitions-first, implement-then-vote process matters. Option-based APIs need real implementations to shake out ambiguity.
Why ADO.NET’s GetSchema Is a Good Model
The metadata proposal names ADO.NET’s GetSchema as its model, and the choice says a lot about the design.
ADO.NET is .NET’s data access framework. Its GetSchema method takes a collection name, such as Tables or Columns, plus optional restrictions, and returns a table of results. A special collection lists the collections the provider supports. Every provider implements the same method, and each one decides which collections to offer beyond the common ones.
That shape has aged well for a reason. A fixed function per metadata type, which is the JDBC approach with getTables, getColumns, getPrimaryKeys, and dozens more, grows the API every time someone needs a new kind of metadata. A collection-based API grows by adding collection names. The interface stays the same.
ADBC’s version improves on the original in two ways that fit Arrow. Results come back as Arrow streams, so metadata for a database with 100,000 tables arrives in columnar batches instead of a row-by-row table. And pagination is built in through a token option, so clients don’t have to fetch everything at once. For data catalogs with very large schemas, that difference matters.
A design proven in one ecosystem, adapted to Arrow’s strengths, is a safer bet than an invention from scratch.
How the Pieces Fit: SQL, Metadata, and Actions
With 1.2, a client has three ways to ask a driver to do something. Knowing which one to use avoids confusion.
SQL statements are for queries and data changes expressed in the database’s SQL dialect. Set the SQL, execute, read Arrow results. Nothing new here.
Metadata collections are for read-only questions about structure. What tables exist, what columns they have, which constraints apply. Set adbc.metadata.collection, set filters, execute, read Arrow results.
Actions are for state-changing operations that aren’t plain SQL, or that the client wants to call in a driver-neutral way. Set adbc.action, bind parameters, execute.
All three use the same statement object and the same execute calls. The option you set decides which path the driver takes. That uniformity is a big part of the design’s appeal. A driver implements one execution path with three entry points, and a client learns one lifecycle.
The boundary between metadata and actions is the read-only rule. If an operation only reads structure, it’s metadata. If it changes anything, it’s an action. Gray areas will come up. Refreshing cached metadata, for example, changes state in order to make reads correct. The rule gives a default answer, and the standardize-later path lets the community settle edge cases as they appear.
A Worked Example: An Agent Exploring a Database
AI agents that work with data spend much of their time on discovery. Here’s how an agent’s first minute against an unfamiliar database looks with the 1.2 metadata API, step by step.
1. Discover capabilities. The agent’s tool layer queries the meta collection. It learns that this driver supports tables, columns, and constraints, plus a vendor collection with a vendor prefix for warehouse-specific details.
2. Find relevant tables. The user asked about revenue. The tool queries the tables collection filtered to the schemas the agent’s principal can see. Results arrive as Arrow, and the tool turns them into a compact list for the model.
3. Inspect columns. For the three tables that look relevant, the tool queries the columns collection, filtered by table. It gets column names, types, and comments.
4. Check relationships. The tool queries the constraints and foreign keys collections to learn how the tables join. That keeps the agent from guessing join keys, a common source of wrong answers.
5. Write and run SQL. Only now does the agent write a query, and it runs as an ordinary SQL statement.
Every step except the last uses the metadata API, and every step returns Arrow. Today, the same flow needs GetObjects, whose nested result is awkward to filter, or vendor-specific SQL against information schema views, which differs by database. With 1.2, the same tool code works against any driver that implements the standard collections, and it pages through large schemas without loading everything.
This is the strongest argument for the metadata API. Discovery used to be the least portable part of database tooling. With a uniform, pageable, Arrow-native metadata interface, it becomes as portable as running a query.
What Driver Authors Should Prepare
Here’s a practical list for anyone maintaining a driver.
- Audit your option handling. Almost every 1.2 feature arrives through options. Make sure your driver rejects unknown options cleanly with
ADBC_STATUS_NOT_IMPLEMENTEDand stores known ones predictably on statements and connections. - Plan the
metacollection. It’s required under the metadata proposal. List the collections you support, starting with tables and columns. - Map your catalog queries to standard collections. Most drivers already answer
GetObjects. The same queries feed the tables, columns, and constraints collections, with filtering and pagination added. - Make credentials settable on live connections. The callback calls
SetOption, so your driver has to accept new credentials without reconnecting. - Design your JSON error details. Choose stable keys for the diagnostics your database returns, such as error position, SQL state, and query ID. Document them.
- List candidate actions. Write down the vendor operations your users currently run through raw SQL. Those are your first actions.
- Watch the bulk ingest rework. If you support fast loading, the action-based design affects you directly.
What Client Developers Should Expect
If you build on ADBC rather than implementing it, three changes matter.
Metadata gets uniform and pageable. Tools that browse schemas, such as SQL editors, notebooks, and AI agents exploring a database, get one way to fetch tables, columns, routines, and constraints, with filters and pagination, returned as Arrow. That’s a real improvement for agent tooling, where metadata discovery is the first step of almost every task.
Long-lived connections get easier. The credential callback lets connection pools refresh tokens without reconnecting.
Errors get parseable. JSON details give you structured fields, with the caveat that each driver defines its own keys for now.
Feature detection becomes more important. Since capabilities arrive through options and collections, check the meta collection and handle not-implemented status codes gracefully. A client that assumes every driver supports every 1.2 feature breaks on older drivers.
Reading the Timeline Without a Date
“No target date” frustrates people who need to plan. The process David proposed still gives you signals to watch.
Signal 1: the milestone cleanup. David’s status summary, merging the metadata issues and flagging items that need attention, tells you the real scope. If the milestone shrinks from 36 items to a handful of distinct features, 1.2 is closer than the raw count suggests.
Signal 2: definitions merged to the spec branch. The metadata PR targets the spec-1.2.0 branch. When the credential callback, error details, and actions PRs land there too, the definitions phase is done.
Signal 3: driver implementations. Each definition needs at least one implementation, ideally in the Flight SQL or PostgreSQL driver. Watch those drivers’ release notes. When all five items have implementations, revisions follow.
Signal 4: the vote. The spec version is final after a vote on the dev list. Driver releases that claim 1.2 support follow.
For driver authors, Signals 2 and 3 are the moments to start work. Implementing against merged definitions is safe. Implementing against open PRs risks rework, as the bulk ingest rework shows. For client developers, Signal 4 and your drivers’ release notes are what matter. Until a driver claims 1.2 support, use feature detection and treat every 1.2 capability as optional.
One more practical note. David has floated merging the metadata API before 1.2.0 ships, behind an experimental flag. If that happens, early adopters get it sooner, with the understanding that experimental features change before the vote if implementation shows they need to.
Failure Modes and Warning Signs
Assuming spec version equals driver version. Warning sign: code that checks a driver release number to infer feature support. Fix: detect features through the API itself, such as the meta collection and status codes.
Option typos that silently do nothing. Warning sign: a metadata call returns data unfiltered. Cause: a misspelled filter option that the driver ignored. Fix: drivers should reject unknown adbc. options, and clients should test filters against known data.
Callback re-entrancy bugs. Warning sign: deadlocks or errors during token refresh. Cause: a callback that does more than SetOption. Fix: follow the restriction strictly.
Fragile error parsing. Warning sign: client error handling breaks after a driver upgrade. Cause: JSON keys changed. Fix: drivers treat keys as a contract, and clients handle missing keys gracefully.
Action name collisions. Warning sign: the same action name means different things in two drivers. Fix: vendor-prefixed names until a standard name exists.
Where ADBC Is Heading
The 1.2 plan shows a project with a clear philosophy. Keep the ABI small and stable. Add capability through options. Let vendors experiment through actions, and standardize what spreads. Implement before you vote.
That philosophy suits the role ADBC is growing into. As more databases and engines speak Arrow natively, ADBC becomes the default way analytics tools, dataframes, and agents talk to them. A stable, minimal ABI with well-defined extension points is exactly what a widely embedded API needs. The metadata API, in particular, fits agent workloads that need to discover schemas quickly and in a structured form.
Conclusion
ADBC 1.2 is still taking shape, and nothing in it has a date. The direction is settled enough to plan around. A generic metadata API reuses statements and options to deliver tables, columns, routines, and constraints as Arrow, with pagination. A narrow credential callback lets long-lived connections refresh tokens. Error details arrive as JSON because Python can read it today. Vendor actions give every driver a standard escape hatch, and bulk ingest is being reworked to use it. Async waits for another version.
If you maintain a driver, start with option handling and the meta collection. If you build on ADBC, plan for feature detection instead of version checks.
For more on the driver side, see what actually changes when you upgrade to ADBC 25. For the bigger picture, see why the database driver is the slowest part of your query, how Arrow Flight and ADBC fit together, and the state of Apache Arrow in 2026.
Sources: Ian Cook’s planning session summary, Nov 24, 2026 · Metadata API PR #4694 · 1.2.0 milestone
Keep Going
If this piece was useful, I have written a lot more on Apache Arrow and the open lakehouse. My books on lakehouse architecture cover how Arrow, Parquet, Iceberg, and catalogs work together. You can find every book I have written, across lakehouse architecture, Apache Iceberg, Apache Polaris, and AI, at books.alexmerced.com.


