Mention hf datasets sql in the datasets DuckDB and Data Studio docs#2658
Open
davanstrien wants to merge 1 commit into
Open
Mention hf datasets sql in the datasets DuckDB and Data Studio docs#2658davanstrien wants to merge 1 commit into
davanstrien wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
Member
Author
lhoestq
approved these changes
Jul 20, 2026
julien-c
approved these changes
Jul 20, 2026
julien-c
left a comment
Member
There was a problem hiding this comment.
good idea (it's also there https://huggingface.co/docs/huggingface_hub/main/en/guides/cli#list-parquet-urls but can't hurt to also have it here)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
hfCLI shipshf datasets sql(andhf datasets parquet), but the datasets docs never mention them: the DuckDB section only describes installing the standalone DuckDB CLI and manually configuring token secrets, and the SQL Console pages only cover the browser. Anyone (or any agent) landing on these pages gets sent down the slower path when a single command already does the job.This PR adds short pointers — one tip or one sentence per page, each linking to the CLI reference rather than duplicating it:
datasets-duckdb.md— tip with a runnable example (reusing the page's existingibm/duorcdemo query), noting automatic auth and--format jsondatasets-duckdb-auth.md— tip thathf datasets sqlconfigures the token secret automatically, so the manualCREATE SECRETsteps can be skippeddatasets-viewer-sql-console.md— extends the existing "DuckDB locally" tip with the CLI alternativedata-studio.md— CLI alternative in the "Run SQL queries" section;hf datasets parquetadded next to the parquet-list API under "Programmatic access"Verified against
hfCLI v1.23.0: the example query runs as written, auth is injected automatically from the logged-in token, and both CLI-reference anchors resolve.🤖 Generated with Claude Code
Note
Low Risk
Documentation-only edits with no runtime, auth, or API behavior changes.
Overview
Hub dataset docs now point readers at
hf datasets sqlandhf datasets parquetinstead of only describing the browser SQL Console, standalone DuckDB CLI, and Hub API.data-studio.mdadds a CLI option next to the SQL Console guide and documentshf datasets parquet/hf datasets sqlunder programmatic Parquet access.datasets-duckdb.mdadds a tip with a runnableibm/duorcexample, auto-auth, and--format json.datasets-duckdb-auth.mdnotes thathf datasets sqlskips manual DuckDB secret setup.datasets-viewer-sql-console.mdextends the existing local DuckDB tip with thehfCLI alternative. All links target the huggingface_hub CLI reference rather than duplicating command docs.Reviewed by Cursor Bugbot for commit 30fe360. Bugbot is set up for automated code reviews on this repo. Configure here.