Loading...
Loading...
Compare original and translation side by side
$0${1:-list and describe what's there}$0${1:-列出并描述其中内容}| Provider | URL patterns | Secret setup |
|---|---|---|
| AWS S3 | | |
| Cloudflare R2 | | |
| GCS | | |
| MinIO / custom | | |
<account_id>.r2.cloudflarestorage.comr2://bucket/paths3://bucket/pathLOAD httpfs;| 服务商 | URL 格式 | 密钥配置 |
|---|---|---|
| AWS S3 | | |
| Cloudflare R2 | | |
| GCS | | |
| MinIO / 自定义 | 带自定义端点的 | |
<account_id>.r2.cloudflarestorage.comr2://bucket/paths3://bucket/pathLOAD httpfs;/duckdb -c "
LOAD httpfs;
<SECRET_SETUP>
SELECT filename, (size / 1024 / 1024)::DECIMAL(10,1) AS size_mb, last_modified
FROM read_blob('<URL>/*')
ORDER BY filename
LIMIT 50;
"filenamesizelast_modifiedcontent*duckdb -c "
LOAD httpfs;
<SECRET_SETUP>
DESCRIBE FROM '<URL>';
SELECT count(*) AS row_count FROM '<URL>';
FROM '<URL>' LIMIT 20;
"duckdb -c "
LOAD httpfs;
<SECRET_SETUP>
SELECT file_name,
sum(row_group_num_rows) AS total_rows,
(sum(row_group_compressed_bytes) / 1024 / 1024)::DECIMAL(10,1) AS compressed_mb
FROM parquet_metadata('<URL>')
GROUP BY file_name;
"/duckdb -c "
LOAD httpfs;
<SECRET_SETUP>
SELECT filename, (size / 1024 / 1024)::DECIMAL(10,1) AS size_mb, last_modified
FROM read_blob('<URL>/*')
ORDER BY filename
LIMIT 50;
"filenamesizelast_modifiedcontent*duckdb -c "
LOAD httpfs;
<SECRET_SETUP>
DESCRIBE FROM '<URL>';
SELECT count(*) AS row_count FROM '<URL>';
FROM '<URL>' LIMIT 20;
"duckdb -c "
LOAD httpfs;
<SECRET_SETUP>
SELECT file_name,
sum(row_group_num_rows) AS total_rows,
(sum(row_group_compressed_bytes) / 1024 / 1024)::DECIMAL(10,1) AS compressed_mb
FROM parquet_metadata('<URL>')
GROUP BY file_name;
"${1:-list and describe what's there}${1:-列出并描述其中内容}duckdb: command not found/duckdb-skills:install-duckdbaws configureduckdb: command not found/duckdb-skills:install-duckdbaws configure