MotherDuck connections
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by locating the DuckDB plugin's connection handling and how the app bundles libduckdb. Check how the MotherDuck extension can be downloaded on macOS, since the issue identifies that as a prerequisite. Done means the plugin accepts an md: connection with motherduck_token, shows hosted catalogs, schemas, and tables, and can attach a local file alongside MotherDuck where DuckDB allows it.
由索引模型根据 Issue 内容生成。
描述
Problem
The DuckDB plugin opens a local file or a remote DuckDB server over Quack (databases/duckdb.mdx), but a MotherDuck database cannot be reached at all.
The extension path is no longer the blocker it was. The macOS DuckDB build links core_functions, json, parquet, icu and autocomplete statically and keeps runtime autoloading on (apple/scripts/duckdb-macos-extensions.cmake), and the Remote (Quack) connection already opens an in-memory DuckDB, turns on autoinstall and autoload, runs INSTALL quack and LOAD quack, stores a token as a secret and attaches the remote (apple/Plugins/DuckDBDriverPlugin/DuckDBPlugin.swift:328). The motherduck extension can arrive the same way, from extensions.duckdb.org on first use.
Proposed solution
- A MotherDuck connection type on the DuckDB form, next to Local File and Remote (Quack), taking a database name (or none for all of them) and a service token in a secure field kept in the Keychain.
- Connect the way Quack does: an in-memory DuckDB, autoloading on,
INSTALL motherduckandLOAD motherduck, the token passed asmotherduck_tokenor a secret, thenATTACH 'md:…'. - Hosted databases, schemas and tables in the sidebar, which the Quack path does not list today.
- Attach a local file alongside a MotherDuck database in one connection, where DuckDB allows it.
- A clear error for the two likely failures: no route to
extensions.duckdb.orgon the first connect, and an extension build that does not match the bundled DuckDB version (apple/scripts/build-duckdb.sh:22).
Done means a MotherDuck connection with only a token lists the account's databases and runs a query.
Alternatives considered
The MotherDuck web UI.
Platform
macOS
Related database type
DuckDB
- 主要语言
- Swift
- 星标
- 6.2k
- 派生
- 412
- 平均合并
- 3 小时 56 分钟
- 30 天内合并 PR
- 669
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
TableProApp/TablePro 的其他 Issue
-
Linux: Remember Password fails silently when there is no default keyring可能已有人在做 @datlechin 今天认领。 未关闭bug platform-linux
难度 2/5 1-3 小时 新手友好度 75/100
TableProApp/TablePro#4098 ·
维护者通常 1 天内回复
-
bug platform-linux
难度 2/5 1-3 小时 新手友好度 35/100
TableProApp/TablePro#4101 ·
维护者通常 1 天内回复
-
bug platform-linux
难度 4/5 3-5 天 新手友好度 48/100
TableProApp/TablePro#4099 · 3 条评论 ·
维护者通常 1 天内回复
-
enhancement platform-macos
难度 5/5 一周以上 新手友好度 25/100
TableProApp/TablePro#4071 ·
维护者通常 1 天内回复
-
enhancement platform-macos
难度 3/5 1-2 天 新手友好度 66/100
TableProApp/TablePro#4070 ·
维护者通常 1 天内回复
查看 TableProApp/TablePro 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 83/100
OneBusAway/vehicle-positions#260 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
eliasstravik/herdr-projects#789 · 1 条评论 ·
-
follow-up needs-triage S3: minor
难度 1/5 1-3 小时 新手友好度 85/100
manaflow-ai/cmux#38032 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 67/100
arkavo-org/ArkavoKit#70 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 70/100
vorssaint/vorssaint-utils#3933 · 1 条评论 ·
维护者通常 2 天内回复