This file records where the work stands, so that a session that ends or
crashes can resume. Update it when a piece of work starts or ends. Work that
is known and not done goes in BACKLOG.md, and a decision goes
in decisions/.
dbmeta has fifteen tagged releases. v0.1.0 was tagged on dd70b7a on 2026-10-02, v0.2.0 on 39b74b2 and v0.3.0 on 7cbe9bf on 2026-10-07, v0.4.0 on 9388928, v0.5.0 on 8f3115b, v0.6.0 on 90d0261 and v0.7.0 on abe2ca1 on 2026-10-08, and v0.8.0 on cf48e36, v0.9.0 on 609c60b and v0.10.0 on 288a868 on 2026-10-09. v0.11.0 on 3df0d73, v0.12.0 on 029c5ef and v0.13.0 on 54f7dec on 2026-10-10, and v0.14.0 on 31b24d1 and v0.15.0 on a58e5c0 on 2026-10-11. The Tested tier passed in CI on each tagged commit. The maintainers chose that CI stands in for a run of every tier, and the Verified tier was not run again for any of them.
The dump package is built for PostgreSQL, SQLite, DuckDB and MySQL and not released
(D274 to D279, DUMP.md): the type model, the snapshot with its JSON format, the script for
the same dialect and for another, the plan and the policy, the loader that writes the rows
in two forms, and the report of what a dialect can do. The tests move a schema and its rows
between every pair of the four, on PostgreSQL 9.6 and 18, MariaDB 10.6 and 13.0, MySQL 8.4
and 26.7, SQLite and DuckDB. What a dump leaves out is in BACKLOG.md, under Dump. The old
notes of the steps follow and are kept for the record. Step 1 of its order of work was
done and not released: the type model, with ParseType and RenderType for PostgreSQL,
SQLite, DuckDB and MySQL, tested on real columns of PostgreSQL 18 with both drivers, SQLite
with both drivers, DuckDB, MySQL 26.7 and MariaDB 13.0. Step 2 is built and not released: the
Snapshot, its JSON format with a version, and Read, tested on PostgreSQL, SQLite, DuckDB,
MySQL and MariaDB, with a read of 3000 tables in 0.42 seconds on PostgreSQL. Step 3 is next:
Script for a dump to the same dialect.
v0.15.0 is the release that carries the opt in for the table size and rows of Redshift
(D232, Args.WithTableInfo), the completion of the Cosmos DB model to 15 kinds (D233) and
the Exasol tests on the driver of dbimp (D234). The Tested tier passed in CI on a58e5c0.
The dependencies of the test module were bumped after the tag, in a6300d0.
MaxCompute got a model after v0.15.0, which answers 15 of the 66 kinds (D237 to D240).
It reads the project level INFORMATION_SCHEMA with the driver of Alibaba. The views show a
new object after about an hour, so the fixture stays up, and the reader of the test account
needs two grants before the parity test can record it. The Verified tier ran on the hosted
project on 2026-10-29, and docs/COVERAGE.md holds what it found.
v0.13.0 is the release that carries the hosted services with models: Spanner
(D216, D217, D219), BigQuery (D220, D226), Athena (D222) and Databricks
(D224), and the Spectrum external tables of Redshift (D221). Together with
Redshift and Snowflake, seven hosted services have a model, and 46 native models
exist. It also carries the move of the Snowflake tests to the driver of dbimp
(D213, D214), the key files that dbrun names for the hosted services (D218),
the BigQuery emulator list of 0.8.1 alone and the Cosmos DB URL form (D225).
Cosmos DB got its model in v0.14.0 (D228). The new
hosted models are Verified, and the Spanner Omni release is Tested. Each hosted
model was measured on its service when it was written.
D230 moved the common facts of the usql drivers here: Dialect.Placeholder,
Product, EveryStatementIsAQuery, WritesNeedAutocommit and ScanTypes, with
a table for DynamoDB, Pinot and csvq, which have no model. The Pinot dialect is
new. The DSN keys went to dburl. They are in v0.14.0, with the model of Cosmos DB, the
move of the hosted tests to the drivers of dbimp (D229) and the Spanner tests on the
driver of dbimp, with a binary of its own for Spanner Omni (D231).
Redshift reads the size, rows and options of a table only on request (D232).
The default Tables statement no longer names SVV_TABLE_INFO, which a user who
is not a superuser cannot read, and Args.WithTableInfo asks for the three
fields. This is unreleased.
v0.12.0 holds the four decisions of 2026-10-10 (D212): Constraint.Enforced is
true for Firebird and MariaDB, ArangoDB counts the rows of a collection, and
Redshift reads the size, rows and options of a table from SVV_TABLE_INFO.
v0.11.0 holds the refresh of every model with the fields of D198 to D203 where
the product has a source: the MySQL family (D205), SQL Server and Oracle
(D206), Snowflake, Redshift, CrateDB and QuestDB (D207), ClickHouse, DuckDB,
SQLite, Databend and Vertica (D208), Firebird, SAP HANA, Exasol, Hive and
Impala (D209), and the audit of the products without a relational catalog
(D210). Policy.Enabled is new (D211).
v0.10.0 holds the Snowflake dialect finished (D203), the Redshift dialect
finished (D204), ListHas and LikeFold in the root package and the Cassandra
filter that ignores case (D202).
v0.9.0 holds the sections of \d+ (D199), Binding.Keep for the Cassandra
filters (D200) and the third group of data for usql's describe commands (D201).
v0.8.0 holds the NULL fields (D197) and the first fields for tables, indexes, columns and functions (D198), which usql needs for its describe commands.
v0.7.0 holds the Cassandra rename (D196), the URL dsn and the ordinary user of the Cassandra and ScyllaDB entries (D195), and the release read for every user (D191, D192).
v0.6.0 holds the GizmoSQL (D187) and Avatica (D186) dialects, the first run of Snowflake against a trial account (D190), the OpenSearch 2.19.6 columns (D189), and the decisions that leave Pinot and DynamoDB without a model (D185, D184) and drop H2, VoltDB, chai and csvq (D188). dbrun connects a hosted service with the driver DSN.
v0.5.0 holds the OpenSearch dialect (D181), the first run of Redshift against Redshift Serverless (D182), and the amendment of D176 (D183).
v0.4.0 holds the Drill (D178), Elasticsearch (D177) and Solr (D179) dialects, the wider role of the OpenSearch entry, and the fixed VoltDB entry (D180).
v0.3.0 holds the Druid dialect (D171), the move of the Trino and Presto tests
to dbimp's driver (D172), api for more products, the ClickHouse entry for
dbimp's driver, and the ODBC decision (D173).
v0.2.0 holds the container sweep of 2026-10-07, InfluxDB 3 Triggers (D170),
the DSN and api change for the products of dbimp (D167), and the ready
check of InfluxDB 1, which a nightly run of 2026-10-06 needed after its
connection was reset while the image restarted its server.
The commits of v0.1.0:
- 380e597 holds D169, which adds
Query.Each,Dialect.Patternanddbmeta.Openfor usql, and makesdbrun startprint the URL that usql takes. usql has the hash and builds on it. - f8a6338 holds D167, which makes the DSN what
sql.Opentakes and adds theapifield, D168, which is a maintainer's review of the six dialects of 2026-10-01, and DuckDB's DollarQuotes. dbimp has the hash. - 724e64e holds D166: Oracle 19c, Pinot and the InfluxDB release wait.
The druid dialect (D171) is built. It answers 7 of the 56 kinds on 37.0.0 and 38.0.0, on dbimp v0.11.0 and dburl v0.42.0. The ordinary user cannot read the version, so only the administrator has one. 38.0.0 was measured for the first time, and it answers as 37.0.0 does.
The Trino and Presto tests moved to dbimp's driver, github.com/xo/dbimp/trino
at v0.12.0, which dburl v0.43.0 names for both schemes (D172). Trino 476 and
483 and Presto 0.299 pass live on it. Both entries print
trino://user@host:port/memory/default as their DSN and URL, and neither has
an ordinary user. The vendor clients are out of the test module.
The ClickHouse measurement for dbimp is done and sent. It is at
scratchpad/clickhouse-wire.md in this session, and the raw outputs and the
program are beside it. dbmeta offered to measure the HTTP interface next, and
A maintainer has not answered.
The ClickHouse entry now publishes the HTTP port 8123 as its second port,
prints an api for each release, and makes an ordinary user, dbmeta_user,
in Init, as dbimp asked for its ClickHouse driver. All four releases pass the
test module, and a stop and a start runs Init again without a fault. The user
has the name that every other entry uses, and not dbimp_user, which
dbimp's own recorded tests make for themselves.
The ClickHouse tests use dbimp's driver, github.com/xo/dbimp/clickhouse at
v0.13.0, which dburl v0.44.0 names (D174). The entry's DSN and URL are the
HTTP form on the second port. All four releases pass.
Elasticsearch and OpenSearch can walk SHOW statements (D175). The maintainers answered
the questions of the surveys in D176. The DynamoDB dialect is now
dynamodb, and the DSN of every DynamoDB entry ends with tls=false. The
test module pins dbimp v0.14.0 and dburl v0.46.0.
In progress:
- The Spanner dialect is built and measured on Spanner Omni 2026.r4-lts and on Cloud Spanner (D216, D219): 22 of the 65 kinds, with the conformance and the parity files recorded on both. A database role is the principal on both, and the service account with databaseReader is a third on Cloud Spanner. What is left is the table size, which waits for the hourly statistics of Cloud Spanner (BACKLOG.md).
- The BigQuery model is built and measured on the hosted service (D220): 15 of the 65 kinds, with the conformance and the parity files recorded. The principals are the administrator of the dataset and the reader. What is left is in BACKLOG.md: the kinds that need a permission on the project.
- The Athena model is built and measured on the hosted service (D222): 8 of the
65 kinds, with the conformance and the parity files recorded. The principals
are the administrator and the IAM reader, and the reader gets every answer of
the administrator. The test driver is the one of Uber, which dburl v0.49.0
names, and the model writes its own literals because that driver does not.
What is left is in BACKLOG.md: a walk for the table comment, the dialect name
athenathat follows dburl, and the move to the driver of dbimp. - The Tablestore model is built and measured on the hosted instance (D241, D242): 4 of the 65
kinds. Tables comes from SHOW FULL TABLES, and Columns, Indexes and IndexColumns are a walk of
DESCRIBE and SHOW INDEX, which the maintainers allowed on 2026-10-29. The version is
SELECT @@version. The cost of a walk is one statement for each table, and it was measured on four tables only. The fixture makes its four tables with the Tablestore SDK, because SQL cannot, and the conformance and the parity files are recorded. - The Databricks model is built and measured on the hosted workspace (D224): 17 of
the 65 kinds, with the conformance and the parity files recorded. The principals
are the service principal that owns the schema and the reader, and the reader reads
no routine and no volume, because INFORMATION_SCHEMA hides what it cannot use. The
test driver is databricks-sql-go, which dburl v0.49.0 names, and
dbrunhands it the string of the credential file without its scheme. What is left is in BACKLOG.md: a walk for the size, the defaults and the CHECK constraints, and the move to the driver of dbimp when it is tagged. - The Exasol tests move to the driver of dbimp (D234, which amends D154 and D87). The change
is on dbimp v0.20.0 and dburl v0.52.0. It passed on
exasol-2026.2.0. Only the text of two errors changed inparity.txt. The Community Edition machine was not run (BACKLOG.md). - The Cosmos DB completion (D233, which amends D228) is on dbimp v0.20.0, which holds the five
statements. The model answers 15 of the 66 kinds from the five
new statements
$index_paths,$unique_keys,$unique_key_paths,$routines,$partition_key_rangesand$session, It passed on the hosted account with the released driver. - The Cosmos DB model is built and measured on the hosted account (D228, which amends
D223 and D225): 10 of the 65 kinds, from the nine reserved statements of the driver of
dbimp v0.17.0, which dburl v0.50.0 names. The fixture is a list of REST requests that
test/cosmos_rest_test.gosigns and sends. The conformance and the parity files are recorded. The read-only key is refused by the feeds of users and permissions. What is left is in BACKLOG.md: a hook for several objects from one row, a kind for stored procedures, the capabilities that the account lacks, and the move of the BigQuery, Athena, Databricks and Spanner tests to the drivers of dbimp. - The hosted models move to the drivers of dbimp when dburl names them: the
dialect is
athenasince D227, and the test driver and the string thatdbrunbuilds change for BigQuery, Athena and Databricks (BACKLOG.md). - The dialects are built or decided for everything that usql supports, except H2, VoltDB, chai, csvq, Pinot, DynamoDB, Phoenix and the hosted services other than Redshift, Snowflake, Spanner, BigQuery, Athena and Databricks (D184, D185, D186, D188, D194, D218, D222, D224).
- Redshift reads the Spectrum external tables (D221), measured on 1.0.477953
with the default IAM role that dbsetup made. Tables and Columns have the new
branch, the fixture makes the external schema, and conformance and parity
did not change. The Glue table now lives in the Glue database
dbmeta_spectrum, apart from the Athena fixture, and the fixture reads it. - BigQuery reads Schemas, CurrentSchema and Privileges (D226), 18 of the 65, after
dbsetup gave both principals the metadata viewer role on the project. The
dataset is the one the tables of the connection name, the options are the new
field
Schema.Options, and Privileges lists the IAM bindings of the dataset. Conformance and parity did not change. The row access and data policy views do not exist. - The move of the hosted models to the drivers of dbimp that dburl v0.50.0
names is done (D229). Databricks is on
dbimp/databricks. The one change was the test, which reads an array as JSON text. Athena is ondbimp/athena, which binds with ExecutionParameters, so the model lostInfo.Literaland uses?. BigQuery is ondbimp/bigquerywith no change. Spanner stayed on go-sql-spanner until D231. The parity of the role on Cloud Spanner lost the lineschemason the new database, and D229 says why. - The hosted Cloud Spanner tests now use
dbimp/spannerv0.19.0, and the Omni tests run in a binary of their own, built with the tagomni, on go-sql-spanner (D231). The fixture of Cloud Spanner runs as one DDL batch and takes about 91 seconds where it took 461. CI builds and uploads both binaries. - The describe commands of usql are at the level of psql 18 for PostgreSQL. The next work is what usql finds against the new releases, and the other databases, one at a time, which usql said will follow.
- Known and not done is in
BACKLOG.md.
- usql sends what it finds against the new fields, and the next database to bring to psql's level.