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

未關閉
#570 5 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 6 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
rust, sql
領域
backend, databases

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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.

主要語言
Rust
星號
573
分支
32
平均合併
8 天 23 小時
30 天內合併 PR
5

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

posit-dev/ggsql 的其他 Issue

查看 posit-dev/ggsql 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。