Skip to content

Latest commit

 

History

History

decisions

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Decisions

Every decision this project made is a file in this folder, one per decision, named by its number and its title. This table is the index. Find the number here, then open the file.

Each file opens with its status. "Decided" means the maintainers chose it. "Proposed" means an agent or a peer session suggested it and a maintainer has not confirmed it. "Open" means nobody has chosen yet. A decision that changes an earlier one says so in its status, as "Amends D50", and the earlier one says it back, as "Amended by D111". Read the status before the decision. 142 of them amend or replace an earlier one, and a decision read without its amendment is worse than no decision.

A new decision gets the next number and a file of its own. Add its row here. TestTheDecisionIndexIsComplete fails when a decision has no row or a row is wrong, and it prints the row to add. D111 moved the decisions here from one file.

# Decision Status
D1 The module centralizes database metadata Decided
D2 Models are one package per driver under models/<driver> Amended by D71
D3 The root package is the driver agnostic API Decided
D4 Keep the object coverage, drop the Reader naming Decided
D5 dbmeta only reads Amended by D56 and D274
D6 Fix the NULL scan defect once, and never hide a NULL Decided, amended in place, D6a superseded by D71
D7 Use the standard library. Third party packages are a last resort Decided
D8 Version differences are generated data, not packages Decided
D9 There are two platonic models. PostgreSQL is the primary one Decided
D10 Take the initial design from dbtpl and its models directory Decided
D11 dbtpl is pinned as a tool, in the generation module Amended by D26, superseded by D71
D12 Work against live databases running in containers Amended by D70 and D71
D13 Build the models before the root package Decided
D14 A driver is a family, not a product Decided
D15 CI runs on GitHub Actions, on ubuntu-latest only Decided
D16 User facing text follows the simple English rules Decided
D17 Every metadata read takes a context Decided
D18 The whole package is idiomatic Go Decided
D19 Do not repeat dburl Half decided, half overtaken by the code, amended by D125
D20 PostgreSQL goes back to 9.6. Every other database starts at the maintained floor Decided
D21 Drop a server version on a rule, not on a judgment Decided
D22 Test every supported major, not a sample of them Superseded by D24
D23 Do not build dbtest first. Let dbmeta pull it into existence Decided
D24 CI tests the latest version only. The matrix runs locally Supersedes D22, superseded by D42
D25 Test on amd64 only. No build tags and no platform gates Decided
D26 No database driver in the dbmeta module Amends D11, amended by D48
D27 Split the work in two: a nested test module here, a shared harness in dbtest Decided
D28 Root tests use a fake driver replaying captured data Decided
D29 Pure Go only. No single package imports every driver Amended by D48
D30 dbtpl is not used to generate dbmeta Amended by D71
D31 Models register from internal, one file each, gated by build tags Decided
D32 Errors are constants of a string type Decided
D33 Results stream. The package does not materialize them Decided
D34 Report capabilities, and return a typed error when asked anyway Decided
D35 DuckDB is out of the initial testing set Superseded by D48
D36 The client drives. dbmeta decides nothing about the connection Decided
D37 A version is a list of numbers with a name, and there can be several Decided
D38 dbmeta holds the version query, and will run it on request Amended in place
D39 Queries are listed, described, and rendered for the client to run Decided
D40 Three support tiers, and a trigger that can remove a version Amended by D119 and D277
D41 Every model ships its fixtures beside its queries Decided
D42 Four releases per push, every release nightly Supersedes D24, amended by D69, D277 and D281
D43 Ask several models before a dialect is declared finished Decided
D44 A version key names the product. A number alone never does Decided
D45 A query can answer partially, once, and must say so Amended by D161
D46 Five object kinds are missing, and two consumers say which Decided
D47 dbmeta supplies the data. The consumer decides what to show Amended by D146 and D262
D48 cgo is allowed in the test module, and nowhere else Amends D26 and D29, supersedes D35
D49 One method on the interface, and a NOT NULL is not a constraint row Amended by D121
D50 Documentation lives in docs, and the decision log stays one file Amended by D110 and D111
D51 There is no alias for a nullable type Decided
D52 A test driver is the one usql uses, or it is the wrong driver Amended by D59 and D154
D53 One canonical expectation, checked in, that every database must meet Decided
D54 SQL Server covers every release that ships a Linux container Amended by D63
D55 The current user moves here. Changing a password does not Decided
D56 The password statement is built here and run by the caller Amends D5, amended by D127, D273, D274 and D313
D57 A Windows machine is how a pre 2017 SQL Server gets tested, and it is Verified Decided
D58 One .gitignore, in the repository root Decided
D59 Oracle is tested with go-ora v2 until v3 tags its fix Amends D52, amended by D136 and D157
D60 The Oracle model reads ALL_ views, and there is no DBA_ variant Decided
D61 Every dialect is measured against every principal the product has Amended in place
D62 CQL cannot compute, so the Cassandra model computes in Scan Amended by D93 and D200
D63 Support says when a release is too old Amends D54
D64 The Verified tier is checked against the document Decided
D65 A Windows machine rearms its evaluation before it expires Decided
D66 The order the remaining dialects are written in Amended by D67, D77, D88, D91, D94 and D129
D67 Impala cannot be a dbmeta model, and ClickHouse goes first Amends D66, amended by D146
D68 Every container is started by the runner and named product-release Amended by D70, D124 and D279
D69 The workflow builds its matrix from the Go list Amends D42
D70 The runner is a Go command called dbrun Amends D68 and D12
D71 Nothing here is generated. The models are written Amends D2, D12 and D30, supersedes D11 and D6a
D72 Trino reads system.jdbc, and a catalog is a real level Decided
D73 Presto is its own dialect, and not a flavor of Trino Decided
D74 Firebird has no schemas, and none is invented Decided
D75 Every container is bounded, and four run at once Amended by D98 and D108
D76 SAP HANA reads SYS, and answers more than anything but PostgreSQL Decided
D77 Exasol will not run here, and Hive goes ahead of it Amends D66, amended by D84
D78 Hive reads sys, and is a model Decided
D79 A dialect that cannot bind renders its values Decided
D80 The driver registry is dburl's, and reading it is not importing it Amended by D125 and D154
D81 The Cassandra dialect is cql Decided, amended by D196
D82 CI compiles once and every job runs the binary Decided
D83 A server is ready when it can run a query, and keeps being able to Decided
D84 Exasol runs after all, on the nano image Amends D77
D85 Exasol is the nano containers and one frozen virtual machine Decided
D86 A machine is one list, with a spec for how it is built Decided
D87 Exasol is a model, read from the EXA_ALL views Decided, amended by D234
D88 Vertica is a model, on four community images Amends D66, amended by D100
D89 Agent skills are committed as copies, and one command installs them Amended by D110
D90 A database qualifies when it is free to run for development and testing Decided
D91 ScyllaDB is a flavor of the Cassandra model Amends D66, amended by D92
D92 A second version statement reads the ScyllaDB release Amends D91
D93 The cql tests use github.com/xo/cql, which reports a NULL Amends D62, amended by D196
D94 Couchbase runs under dbrun, and its model waits for the n1ql rewrite Amends D66, amended by D95, D96 and D104
D95 The Couchbase model waits for the dbimp driver Amends D94, amended by D101 and D104
D96 Couchbase gets an ordinary user, and starts again after a stop Amends D94, amended by D104
D97 dbrun is documented for its users, in DBRUN and CONTAINERS Decided
D98 A server has an owner, and dbrun acts only on the caller's own Amends D75, amended by D102, D108 and D115
D99 dburl names the product that a scheme drives Amended by D125
D100 The Vertica images live in usql/vertica, and the older ones wait for admintools Amends D88
D101 Couchbase is the dialect couchbase, read through the dbimp driver Amends D95
D102 dbrun prints every principal of a server Amends D98
D103 SurrealDB runs under dbrun, for the dbimp driver Amended by D119
D104 The Couchbase model reads 7.6 and later Amends D94, D95 and D96
D105 dbrun runs a setup again after a failure, and prints the log of a server that never answered Amended by D107
D106 Neo4j Enterprise runs under dbrun, under the evaluation agreement Amended by D109 and D119
D107 The Hive setup runs from a copy that is safe to run twice Amends D105
D108 Eight servers run at once, and a stopped container belongs to nobody Amends D75 and D98
D109 Neo4j is the dialect neo4j, and its URL names the database Amends D106, amended by D112
D110 Every xo repository is set up for coding agents the same way Amends D50 and D89
D111 A large project keeps one file per decision Amends D50
D112 Eight more servers run under dbrun for dbimp's drivers Amends D109, amended by D114, D119, D123, D134 and D153
D113 Three Avatica servers run under dbrun for dbimp's driver Amended by D119 and D155
D114 A server can answer more than one dialect Amends D112, amended by D119
D115 A server shows its owner's name, and status -a shows the stopped ones Amends D98
D116 dbrun knows the embedded databases before their models Amended by D119 and D142
D117 A hosted service appears in dbrun when its credential does Amended by D125
D118 Every database that usql or dbimp reaches gets an entry Amended by D123, D141, D145, D215, D225 and D268
D119 A release that no model reads is Staged Amends D40, D103, D106, D112, D113, D114 and D116, amended by D120, D142 and D277
D120 A Staged release keeps its cadence Amends D119
D121 The interface is named Queryer Amends D49
D122 dbrun calls the runner as few times as it can Decided
D123 CockroachDB and CrateDB have dialects of their own Amends D112 and D118
D124 A server can publish a second port Amends D68
D125 Each wire compatible product has a dialect of its own Amends D19, D80, D99 and D117
D126 A version query waits for the product's model Decided
D127 Quoting rules live in dbmeta Amends D56, amended by D311
D128 CockroachDB lists crdb_internal Decided
D129 An embedded product waits for a model Amends D66, amended by D142
D130 Db2 is out of scope Decided
D131 CrateDB answers no text search kind Decided
D132 Netezza is out of scope Decided
D133 TiDB shares the mysql model Decided
D134 TDengine is removed Amends D112
D135 Vitess shares the mysql model and names a schema by its keyspace Decided
D136 Oracle binds a flag as a number, and is tested on go-ora v3 too Amends D59, amended by D157
D137 A child kind takes parent for its owner and name for itself Decided
D138 Tables takes types, bound as one string Decided
D139 A column has a collation Decided
D140 Databend reads its system database Decided
D141 SingleStore shares the mysql model, and runs with no license Amends D118
D142 ql is removed Amends D116, D119 and D129
D143 A dialect says how its SQL is written Decided, amended by D230, D238, D249, D250, D251, D252, D258, D261, D266 and D312
D144 Snowflake and Redshift are written before they run Decided, amended by D182 and D190
D145 Impala runs in one container Amends D118
D146 A query can walk several statements Amends D47 and D67, amended by D159, D175 and D242
D147 The fields psql prints that usql needed Decided, amended by D201
D148 rqlite shares the sqlite3 model Amended by D151
D149 Oracle and SingleStore answer extended statistics Decided
D150 Oracle 11g reads two views slowly Decided
D151 The rqlite tests use dbimp's driver Amends D148
D152 InfluxDB 3 reads DataFusion's information_schema Amended by D170
D153 libSQL has an ordinary user through a JWT Amends D112, amended by D160
D154 A test driver is the one dburl names Amends D52 and D80, amended by D157, D229, D231, D234, D243 and D253
D155 The Avatica servers speak JSON Amends D113
D156 A test checks the simple English rules that a machine can check Decided
D157 Oracle is tested on go-ora v3 at the commit that fixes it Amends D59, D136 and D154, amended by D166 and D253
D158 H2 and VoltDB wait Decided, amended by D188
D159 InfluxQL can walk SHOW statements Amends D146, amended by D175
D160 libSQL shares the sqlite3 model Amends D153, amended by D167
D162 Neo4j maps a database to a schema and a label to a table Decided
D161 YDB reads its .sys views, and a directory is a schema Amends D45
D163 ArangoDB maps a collection onto a table Amended by D168
D165 InfluxQL maps a database to a schema and a measurement to a table Decided
D164 SurrealDB maps a namespace to a catalog and a defined field to a column Amended by D168 and D192
D166 Oracle 19c, Pinot and the InfluxDB release wait Amends D157
D167 The DSN is what sql.Open takes, and api is the HTTP address Amends D160
D168 A maintainer reviews the six dialects of 2026-10-01 Amends D163 and D164
D169 Each, Pattern and Open move from usql Decided
D170 InfluxDB 3 answers Triggers from the processing engine Amends D152
D171 Druid maps a datasource to a table and reads INFORMATION_SCHEMA Decided
D172 The Trino and Presto tests use dbimp's driver Decided
D173 The ODBC fallback belongs to the client Decided
D174 The ClickHouse tests use dbimp's driver Decided
D175 Elasticsearch and OpenSearch can walk SHOW statements Amends D146 and D159
D176 The search dialects follow a maintainer's answers to the survey Amended by D183 and D192
D178 Drill maps a workspace to a schema and needs the Metastore for file tables Decided
D177 Elasticsearch maps an index to a table and walks SYS and SHOW Decided, amended by D191
D179 Solr maps a collection to a table under a fixed schema Decided, amended by D191
D180 VoltDB has no catalog that a statement can reach Decided
D181 OpenSearch maps an index to a table and walks SHOW and DESCRIBE Decided, amended by D189 and D191
D182 Redshift ran against Redshift Serverless Amends D144, amended by D204
D183 Aliases are tables where SQL cannot tell them, and dbimp supplies the version Amends D176, amended by D191
D184 DynamoDB has no catalog that a statement can reach Decided
D185 Apache Pinot has no catalog that a statement can reach Decided
D186 Avatica reads the HSQLDB catalog, and Phoenix has no model Decided
D187 GizmoSQL shares the DuckDB model and the tests open the session Superseded by D267
D188 No dialect for H2, VoltDB, chai or csvq Amends D158, amended by D194
D189 dbimp reads the OpenSearch 2.19.6 DESCRIBE row Amends D181
D190 Snowflake ran against a trial account Amends D144, amended by D193, D203 and D213
D191 Elasticsearch, Solr and OpenSearch read the release with SELECT version() Amends D177, D179, D181 and D183, amended by D192
D192 The ordinary user reads the release, and SurrealDB reads it with SELECT version() Amends D191, D176 and D164
D193 Snowflake parity, conformance and the password statement were measured Amends D190, amended by D203 and D213
D194 No models for hosted services beyond Redshift and Snowflake Amends D188, amended by D216, D218, D222, D224, D237 and D241
D195 Cassandra and ScyllaDB have a URL DSN and an ordinary user Decided, amended by D196
D196 The Cassandra dialect is cassandra Amends D81, D93 and D195
D197 Three fields can be NULL in the PostgreSQL catalog Decided
D198 Describe fields for relations, indexes, columns and functions Decided
D199 Describe sections for partitions, inheritance, policies and rules Decided, amended by D201
D200 A binding can keep rows for a product that cannot filter Amends D62, amended by D202
D201 The third group of describe data for usql Amends D147 and D199, amended by D262
D202 Cassandra matches names ignoring case, and the models share two helpers Amends D200
D203 Snowflake reads the columns of a key through the pipe operator Amends D190 and D193, amended by D213
D204 Redshift answers the grants and the roles, and takes every password Amends D182
D205 The MySQL family fills the new fields of D198 to D203 Decided, amended by D212
D206 SQL Server and Oracle fill the describe fields Decided, amended by D211
D207 Snowflake, Redshift, CrateDB and QuestDB fill the describe fields they have a source for Decided, amended by D212 and D232
D208 ClickHouse, DuckDB, SQLite3, Databend and Vertica fill the describe fields they have a source for Decided, amended by D306
D209 Firebird, SAP HANA, Exasol, Hive and Impala fill the describe fields they have a source for Decided, amended by D212
D210 The products without a relational catalog fill the describe fields they have a source for Decided, amended by D212
D211 Policy has an Enabled field that SQL Server, Oracle and Vertica fill Amends D206
D212 Firebird and MariaDB enforce every constraint, ArangoDB counts, and Redshift reads SVV_TABLE_INFO Amends D205, D207, D209 and D210, amended by D221 and D232
D213 Snowflake tests and dbrun use the driver of dbimp Amends D190, D193 and D203, amended by D214
D214 The piped Snowflake statement reads booleans since dbimp v0.16.1 Amends D213
D215 Spanner Omni replaces the Cloud Spanner emulator Amends D118, amended by D217
D216 Spanner gets a model that reads Spanner Omni Amends D194, amended by D219
D217 The Cloud Spanner emulator returns beside Spanner Omni Amends D215
D218 The hosted services get models and dbrun names their key files Amends D194, amended by D237
D219 Spanner is measured on Cloud Spanner and a database role is its principal Amends D216
D220 BigQuery gets a model that reads the hosted service Decided, amended by D226 and D229
D221 Redshift reads the Spectrum external tables Amends D212
D222 Athena gets a model that reads the hosted service Amends D194, amended by D227 and D229
D223 No Cosmos DB model, because the driver reads only documents Decided, amended by D228
D224 Databricks gets a model that reads the hosted service Amends D194, amended by D229
D225 The BigQuery and Cosmos DB entries follow the drivers of dbimp Amends D118, amended by D228
D226 BigQuery reads the schemas and the grants on the dataset Amends D220
D227 The Athena dialect is athena Amends D222
D228 Cosmos DB gets a model that reads the hosted account Amends D223 and D225, amended by D229 and D233
D229 The hosted tests move to the drivers of dbimp and Spanner stays on go-sql-spanner Amends D154, D220, D222, D224 and D228, amended by D231
D230 The common facts of the usql drivers move here Amends D143
D231 Hosted Spanner tests use the driver of dbimp and Omni has its own binary Amends D229 and D154
D232 Redshift reads table size and rows only on request Amends D207 and D212
D233 Cosmos DB answers five more kinds from the new dbimp statements Amends D228
D234 The Exasol tests use the driver of dbimp Amends D154 and D87
D235 The image pins moved on 2026-10-22 Decided
D236 dbrun cli launches the native client Decided, amended by D270
D237 MaxCompute gets a model that reads the project level INFORMATION_SCHEMA Amends D194 and D218, amended by D238, D240 and D243
D238 A statement of MaxCompute needs its semicolon, and the driver writes values as they are Amends D143 and D237, amended by D243
D239 The MaxCompute tests retry a reset connection Decided, amended by D243
D240 The MaxCompute fixture stays up because the views lag Amends D237
D241 Tablestore gets a model that answers one kind Amends D194, amended by D242 and D243
D242 Tablestore can walk DESCRIBE and SHOW INDEX Amends D146 and D241
D243 MaxCompute and Tablestore use the drivers of dbimp Amends D154, D237, D238, D239 and D241
D244 dbrun fixture examples makes two plain tables Decided, amended by D254
D245 Each model says how a column aligns Decided
D246 Oracle Autonomous Database Free is a Verified release Decided
D247 oracle-nne-26ai requires native network encryption Decided
D248 Oracle 19c starts on a copy of a kept database Decided
D249 Syntax says which dialects have BEGIN and END bodies Amends D143
D250 ClickHouse reads backticks and three kinds of comment Amends D143, amended by D251
D251 ClickHouse reads dollar quoted strings Amends D143 and D250
D252 Oracle has anonymous blocks Amends D143
D253 Oracle is tested on xo/oracle Amends D154 and D157, amended by D255
D254 dbrun fixture northwind makes a database with variety Amends D244, amended by D256, D257, D259 and D290
D255 The Oracle tables statement keeps its join out of all_tables Amends D253
D256 The northwind fixture is on Oracle too Amends D254, amended by D257 and D259
D257 The northwind values agree on the three servers Amends D254 and D256, amended by D259
D258 A binary value prints as psql prints bytea Amends D143, amended by D263
D259 usql applies the fixtures, and the northwind fixture is on five more products Amends D254, D256 and D257, amended by D290
D260 The movies fixture is a graph on Neo4j Decided
D261 Cypher and AQL have no comment that starts with two dashes Amends D143
D262 The PostgreSQL model gives usql what psql describe needs Amends D47 and D201, amended by D308
D263 An Oracle RAW(16) prints as a UUID Amends D258
D264 The dialect says whether a statement returns rows Decided
D265 The current database is a kind of its own Decided
D266 A backslash escapes in a string for some dialects Amends D143
D267 usql drops GizmoSQL, so dbmeta drops its model Supersedes D187
D268 usql drops H2, so dbmeta drops its entries Amends D118
D269 dbrun starts a Kubernetes cluster for dbfwd Decided, amended by D271
D270 The client of a product is found by its name Amends D236
D271 A cluster node gets a higher process limit Amends D269
D272 A function or an operator is matched by the types of its arguments Decided
D273 A statement that describes a result is built here and run by the caller Amends D56, amended by D274
D274 A dump is built here as statements and run by the client Amends D5, D56 and D273, amended by D310
D275 dump names the types of dbimp and imports none of them Decided
D276 The MySQL model reads what a dump needs of a column and a key Decided
D277 Databases whose image fails to pull are not in CI Amends D40, D42 and D119
D278 The views that a view reads are a kind of their own Decided
D279 The published ports are below the ephemeral range Amends D68
D280 A product with the SQL of another shares its dump Decided
D281 Only the core products run in CI Amends D42
D282 Hive and Impala have HTTP entries for dbimp Decided, amended by D283
D283 Hive and Impala are reached over HTTP only Amends D282
D284 A MySQL timestamp is the clock of the session Decided
D285 A dump writes partitioned tables and materialized views Decided
D286 A dump writes extensions, domains and composite types Decided
D287 A dump writes system versioned tables and the values of CLR types Decided
D288 A dump writes SQL Server alias types, table types and routines in order Decided
D289 A dump of Oracle Decided
D290 The northwind fixture has an hr schema on four more products Amends D254 and D259
D291 dbrun fixture dump makes a database that tests a dump Decided, amended by D293
D292 A dump writes range types and the state of a trigger Decided
D293 A dump reads what the dump fixture showed it missed Amends D291, amended by D294
D294 A dump lists what it leaves out and writes more of Oracle Amends D293, amended by D295 and D296
D295 A dump says when it moves no value of a column Amends D294
D296 A dump writes the rest of what the catalogs hold Amends D294, amended by D297
D297 A dump writes Oracle partitions, and orders the views by what they read Amends D296, amended by D298
D298 A dump writes the privileges of every product, and states what it leaves out Amends D297, amended by D299
D299 A dump writes named subpartitions and more options Amends D298
D300 A SQLite time column is copied as the text that it holds Decided
D301 A copy loads the parent of a row first Decided
D302 A basic dump is the goal for most products, and the order of them Decided
D303 A basic dump of ClickHouse and Spanner Decided
D304 A basic dump of seven more products Decided
D305 A source only dump of sixteen products Decided
D306 DuckDB reads the index of a key and the columns of an index Amends D208
D307 The dialect says whether a COPY reads its rows from the client Decided
D308 DuckDB says which objects are on the search path Amends D262
D309 The model says what a client needs to print a session and a column Decided
D310 A loader for the table of the target Amends D274
D311 The model quotes a string and a name Amends D127
D312 The dialect splits a qualified name Amends D143
D313 PostgreSQL quoting needs no session Amends D56