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

オープン
#570 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 6 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
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時間
マージ済み PR(30日)
5

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

posit-dev/ggsql のほかの issue

posit-dev/ggsql の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。