Cloudflare changelogs | R2 SQLCloudflare changelogs for R2 SQLhttps://developers.cloudflare.com/changelog/R2 SQL - Announcing R2 SQLhttps://developers.cloudflare.com/changelog/2025-09-25-announcing-r2-sql-open-beta/https://developers.cloudflare.com/changelog/2025-09-25-announcing-r2-sql-open-beta/<p>Today, we're launching the <strong>open beta</strong> for <a href="https://developers.cloudflare.com/r2-sql/">R2 SQL</a>: A serverless, distributed query engine that can efficiently analyze petabytes of data in <a href="https://iceberg.apache.org/" target="_blank">Apache Iceberg</a> tables managed by <a href="https://developers.cloudflare.com/r2/data-catalog">R2 Data Catalog</a>.</p> <p>R2 SQL is ideal for exploring analytical and time-series data stored in R2, such as logs, events from <a href="https://developers.cloudflare.com/pipelines/">Pipelines</a>, or clickstream and user behavior data.</p> <p>If you already have a table in R2 Data Catalog, running queries is as simple as:</p> <div><figure><pre data-language="bash"><code class="language-bash"><div><div><span>npx</span><span> </span><span>wrangler</span><span> </span><span>r2</span><span> </span><span>sql</span><span> </span><span>query</span><span> </span><span>YOUR_WAREHOUSE</span><span> </span><span>"</span></div></div><div><div><span>SELECT</span></div></div><div><div><span><span> </span></span><span>user_id,</span></div></div><div><div><span><span> </span></span><span>event_type,</span></div></div><div><div><span><span> </span></span><span>value</span></div></div><div><div><span>FROM events.user_events</span></div></div><div><div><span>WHERE event_type = 'CHANGELOG' or event_type = 'BLOG'</span></div></div><div><div><span><span> </span></span><span>AND __ingest_ts > '2025-09-24T00:00:00Z'</span></div></div><div><div><span>ORDER BY __ingest_ts DESC</span></div></div><div><div><span>LIMIT 100"</span></div></div></code></pre><div></div></figure></div> <p>To get started with R2 SQL, check out our <a href="https://developers.cloudflare.com/r2-sql/get-started/">getting started guide</a> or learn more about supported features in the <a href="https://developers.cloudflare.com/r2-sql/sql-reference/">SQL reference</a>. For a technical deep dive into how we built R2 SQL, read our <a href="https://blog.cloudflare.com/r2-sql-deep-dive/" target="_blank">blog post</a>.</p>Thu, 25 Sep 2025 13:00:00 GMTR2 SQLR2 SQL