Follow-up to #341: next readers set from DB-Engines ranking

Abierto
#570 5 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 6 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust, sql

Línea de trabajo

Start with detect_dialect and dialect_for_scheme, then inspect the existing dialect modules, golden SQL tests, ODBC fallback, and Tier 2/3 live matrix configuration. The suggested first milestone is IBM Db2, with its FETCH FIRST limit syntax and ANSI double-quoted identifiers. Done means the dialect and aliases are supported, golden tests pass, and a live smoke-test row exists where a container is available.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

SedonaDB is pretty high priority as it will provide a pure rust, in-memory backend with spatial support built in. An ADBC driver for it is in the works.

Cross-referencing the current 17 dialects against the DB-Engines ranking (438 systems, Sept 2026) shows the remaining gaps fall into two cost classes. All relational systems in the top 10 are already covered (Oracle, MySQL, MSSQL, PostgreSQL, Snowflake, Databricks, SQLite).

Level 1 — Wire-protocol aliases (no new dialect module)

These systems speak an existing wire protocol, so support is a scheme mapping in detect_dialect/dialect_for_scheme plus golden tests — no new dialect module, no new driver machinery. Several outrank systems we already support.

Rank System Score Maps to Notes
15 Microsoft Azure SQL Database 70.8 mssql Ranked above BigQuery (#19) and ClickHouse (#26), both supported
59 Presto 6.2 trino Same engine family
32 / 36 Microsoft Fabric / Azure Synapse 19.4 / 16.2 mssql family T-SQL warehouse endpoints; verify dialect deltas
28 Apache Spark SQL 23.3 databricks-ish Spark Thrift Server; check overlap with databricks dialect
44 / 63 / 64 / 72 / 116 Aurora, TimescaleDB, Greenplum, CockroachDB, YugabyteDB 9.6 / 5.9 / 5.6 / 4.2 / 2.2 postgres Thin subclasses may be needed: CockroachDB temp-table limits, Greenplum's older PG base
82 / 89 / 146 TiDB, SingleStore, StarRocks 3.3 / 3.1 / 1.6 mysql Also PlanetScale, Vitess, Apache Doris
85 QuestDB 3.1 postgres (pgwire)

Suggested acceptance criteria: scheme aliases resolve to the right dialect, golden SQL tests pass for each alias, and each gets at least a smoke-test row in the Tier 2/3 live matrix where a container exists.

Level 2 — New dialect modules

Ranked by popularity. None have ADBC drivers, but all ship vendor ODBC drivers, so each rides the existing ODBC fallback: dialect module + golden tests + live config, no new driver infrastructure.

Rank System Score Dialect notes
9 IBM Db2 110.6 Largest relational gap by ~40 points; FETCH FIRST n ROWS ONLY limit syntax, ANSI double-quote idents
16 Apache Hive 70.1 HiveQL; backtick quoting; large legacy installed base
22 SAP HANA 33.2 Enterprise analytics
23 Teradata 31.2 Distinct quirks (SAMPLE, TOP variant)
25 SAP Adaptive Server (Sybase) 26.1 T-SQL ancestor; may partially reuse mssql dialect
41 Apache Impala 11.1 Hive-family
51 Vertica 7.7 Analytic workloads, mostly ANSI-ish
39 / 60 Informix / Netezza 12.9 / 6.0 Legacy enterprise, declining — lowest priority

Db2 is the obvious first pick. A reasonable sequencing: Db2 alone first (validates the ODBC-fallback dialect workflow end-to-end), then the Hive/Impala pair (shared dialect groundwork), then HANA/Teradata/Vertica as demand warrants.

Lenguaje dominante
Rust
Estrellas
573
Forks
32
Merge medio
8 d 23 h
PR fusionados (30 d)
5

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de posit-dev/ggsql

Todos los issues de posit-dev/ggsql

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.