Repository navigation
Conversation
Signed-off-by: Gonzalo Peña-Castellanos <goanpeca@gmail.com>
mday-io
left a comment
There was a problem hiding this comment.
The AWS-only examples above don't make it obvious how to point at an S3-compatible provider; so, nice addition!
Two small, non-blocking thoughts:
- Duplication: this repeats the full
gateways → connection → catalogs → extensions → secretsboilerplate already shown twice above (List Format and Dictionary Format examples). Could this instead be a short note + a singleendpoint: "..."line added to the existing List Format example, rather than a duplicate block? Would keep the doc DRYer while surfacing the same info. - Python tab: other subsections here pair the YAML tab with an equivalent Python config tab - was leaving it YAML-only here intentional (there's precedent in the Onelake filesystem example below), or worth adding for consistency?
Either way, LGTM as documentation content, just flagging for your call on scope.
Signed-off-by: Gonzalo Peña-Castellanos <goanpeca@gmail.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Hi @mday-io, sorry for the long gap! Took both suggestions: Dropped the duplicate block. Now it's a short note plus a commented endpoint line in the existing List Format example. Tested it against Backblaze B2 with DuckDB. Ready for another look. |
|
@mday-io gentle ping, both suggestions are in. Ready for another look 🚀 |
…rets notes The note sat above paragraphs that apply to every secret, so they read as part of it. Also point it at the List Format example, the only one with the endpoint line. Signed-off-by: mday-io <mdaytn@gmail.com>
mday-io
left a comment
There was a problem hiding this comment.
Thanks for picking this back up. Both suggestions are in. I moved the new section below the general paragraphs so they don't read as S3-specific, and pointed it at the List Format example. LGTM.
Description
The DuckDB connection's
secretsoption passes every field through toCREATE OR REPLACE SECRET, so DuckDB'sendpointandurl_styleS3 parameters already work. The examples only show Amazon S3, so nothing on the page says another S3-compatible store is supported.Per review, instead of a duplicate block this:
endpointline to the existing List Format example, in both the YAML and Python tabsurl_style: pathfor providers that need path-style addressingDocs only, no code changes.
Test Plan
s3secret usingendpoint(host, no scheme) against Backblaze B2: read a CSV and wrote and read back a Parquet file.endpointandurl_stylein theCREATE OR REPLACE SECRET (type 's3', ...)statement thatBaseDuckDBConnectionConfig._cursor_initgenerates.Checklist
make styleand fixed any issues (N/A: markdown only, all pre-commit hooks are Python-only)make fast-test) (N/A: docs)git commit -s) per the DCOSummary by CodeRabbit
https://and when to use path-style addressing.