docs: API.md still documents Spec::layer_sql/stat_sql removed in #569
Maintainers usually reply within 6 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 88/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- rust
- Domain
- documentation
Research direction
The stale references are in src/doc/API.md, in the "Query Introspection Methods" section around line 268: a table row pair for layer_sql / stat_sql and example lines calling spec.layer_sql(i) / spec.stat_sql(i). Grep the repo for layer_sql and stat_sql to confirm nothing else in the docs refers to them. Done when those rows and example lines are removed, no references remain, and the optional note about dialect-layer SQL generation is added or consciously skipped.
Written by the indexing model from the issue text.
Description
src/doc/API.md still documents Spec::layer_sql() and Spec::stat_sql(), but these methods were removed in #569 (afe60e64).
The affected section is "Query Introspection Methods" (around line 268): the table lists layer_sql / stat_sql, and the example below it calls spec.layer_sql(i) / spec.stat_sql(i), which no longer compiles against main.
For context: these accessors were already vestigial before removal — since #82, Spec::new() populated the backing fields with vec![None; ...], so they returned None in every released crate. The docs made the dead API look live (this confused at least one downstream binding — posit-dev/ggsql-python — into mirroring it).
Suggested fix: drop the two rows from the introspection table and the corresponding lines from the example. It may also be worth a sentence in that section noting that per-layer SQL is constructed centrally through the dialect layer at execution time and is no longer exposed on Spec.
- Dominant language
- Rust
- Stars
- 575
- Forks
- 33
- Avg merge
- 7d 18h
- Merged PRs (30d)
- 11
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from posit-dev/ggsql
-
writer
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 6 days
-
plot building
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
posit-dev/ggsql#515 · 1 comment ·
Maintainers usually reply within 6 days
-
Mention DuckDB extensionPossibly taken @Anant-mishra1729 claimed this 160 days ago. Opendocumentation integration
Difficulty 1/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 6 days
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
Maintainers usually reply within 6 days
-
Reshape validationOpen
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Maintainers usually reply within 6 days
Similar issues
-
Update Wasmtime to 48.0.11 for RUSTSEC-2026-0648Possibly taken @flyingrobots claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
flyingrobots/edict#457 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
O-windows relnotes relnotes-needs-review relnotes-tracking-issue T-libs
Difficulty 1/5 Under an hour Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
approved
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
fritzprix/libr-agent#3266 ·
Maintainers usually reply within 1 day
-
Frame::second_to_frame truncates f32 product, causing periodic off-by-one framesPossibly taken @ShamanicArts claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
dmtrKovalenko/fframes#296 ·
Maintainers usually reply within 1 day