Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
cb03a30
initial docs
Marcinthecloud Sep 18, 2025
1cbebac
fixed link in index
Marcinthecloud Sep 18, 2025
dd0e8d5
fix indents in index, add query-data
Marcinthecloud Sep 19, 2025
87e5a32
Improved all docs, added index.mdx in platform
Marcinthecloud Sep 19, 2025
b8abf91
removed redundant command
Marcinthecloud Sep 19, 2025
1f9632f
A ton of changes and improvements
Marcinthecloud Sep 20, 2025
9512bde
Update get-started.mdx
Marcinthecloud Sep 20, 2025
579cbf2
Update end-to-end-pipeline.mdx
Marcinthecloud Sep 20, 2025
3b1acc7
added dash steps/tabs, moved out of r2, reformatted most of the R2 SQ…
Marcinthecloud Sep 22, 2025
5a27768
added new R2 SQL token env variable
Marcinthecloud Sep 22, 2025
dde1d62
adding wrangler commands
Marcinthecloud Sep 22, 2025
74b405c
Update .gitignore
Marcinthecloud Sep 22, 2025
d08b951
PCX Review
Oxyjun Sep 23, 2025
741c9ed
Update src/content/docs/r2-sql/reference/limitations-best-practices.mdx
Marcinthecloud Sep 23, 2025
79680f6
adding improvements from the latest round of reviews
Marcinthecloud Sep 23, 2025
39c0e8c
Merge branch 'mselwan-pipeline' of https://github.com/Marcinthecloud/…
Marcinthecloud Sep 23, 2025
be11616
fixed min permissions needed
Marcinthecloud Sep 23, 2025
205b4a4
more improvements from reviews
Marcinthecloud Sep 23, 2025
f199743
Merge branch 'mselwan-pipeline' of https://github.com/Marcinthecloud/…
Marcinthecloud Sep 23, 2025
f5d33f5
Update src/content/docs/r2-sql/platform/pricing.mdx
Marcinthecloud Sep 23, 2025
5004c64
Update src/content/docs/r2-sql/reference/limitations-best-practices.mdx
Marcinthecloud Sep 23, 2025
b7693e4
Update src/content/docs/r2-sql/reference/sql-reference.mdx
Marcinthecloud Sep 23, 2025
ca29d7d
Adding improvements from Nikita's review
Marcinthecloud Sep 23, 2025
b15a5a0
Merge branch 'mselwan-pipeline' of https://github.com/Marcinthecloud/…
Marcinthecloud Sep 23, 2025
8318059
changed the getting started to match Pipelines for consistency
Marcinthecloud Sep 23, 2025
5a67919
Small formatting + other changes
jonesphillip Sep 23, 2025
8f7f5e9
fixed typo and added the changelog
Marcinthecloud Sep 23, 2025
803fcd1
Add redirect for troubleshooting guide
jonesphillip Sep 23, 2025
c88356a
Chagnes to changelog
jonesphillip Sep 23, 2025
501babb
Fixes pipeline, broken links
jonesphillip Sep 24, 2025
6f1c557
adding our official r2-sql icon
Marcinthecloud Sep 24, 2025
83ab7c9
addressing Yevgen's feedback
Marcinthecloud Sep 24, 2025
2b18964
fix typo in getting started for r2 sql
jonesphillip Sep 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ pnpm-debug.log*
/assets/secrets
/worker/functions/

.idea
.idea
1 change: 1 addition & 0 deletions public/__redirects
Original file line number Diff line number Diff line change
Expand Up @@ -1579,6 +1579,7 @@
/r2/examples/cloudflare-access/ /r2/tutorials/cloudflare-access/ 301
/r2/examples/upload-logs-event-notifications/ /r2/tutorials/upload-logs-event-notifications/ 301
/r2/examples/demo-worker/ /r2/api/workers/workers-api-usage/ 301
/r2/sql/platform/troubleshooting/ /r2-sql/troubleshooting/ 301

# time-services_redirects
/time-services/nts/usage/ /time-services/nts/ 301
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: Announcing R2 SQL
description: Run SQL queries against Apache Iceberg tables in R2 Data Catalog
date: 2025-09-25T13:00:00
products:
- r2-sql
hidden: true
---

import { LinkCard} from "~/components";

Today, we're launching the **open beta** for [R2 SQL](/r2-sql/): A serverless, distributed query engine that can efficiently analyze petabytes of data in [Apache Iceberg](https://iceberg.apache.org/) tables managed by [R2 Data Catalog](/r2/data-catalog).

R2 SQL is ideal for exploring analytical and time-series data stored in R2, such as logs, events from [Pipelines](/pipelines/), or clickstream and user behavior data.

If you already have a table in R2 Data Catalog, running queries is as simple as:

```bash
npx wrangler r2 sql query YOUR_WAREHOUSE "
SELECT
user_id,
event_type,
value
FROM events.user_events
WHERE event_type = 'CHANGELOG' or event_type = 'BLOG'
AND __ingest_ts > '2025-09-24T00:00:00Z'
ORDER BY __ingest_ts DESC
LIMIT 100"
```

To get started with R2 SQL, check out our [getting started guide](/r2-sql/get-started/) or learn more about supported features in the [SQL reference](/r2-sql/sql-reference/). For a technical deep dive into how we built R2 SQL, read our [blog post](https://blog.cloudflare.com/r2-sql-deep-dive/).
2 changes: 1 addition & 1 deletion src/content/dash-routes/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@
},
{
"name": "Pipelines",
"deeplink": "/?to=/:account/workers/pipelines",
"deeplink": "/?to=/:account/pipelines",
"parent": ["Storage & Databases"]
},
{
Expand Down
Loading
Loading