CyberSIXT Search
Original
Image: Cloudflare

CloudflareJérôme Schneider

Announcing support for GROUP BY, SUM, and other aggregation queries in R2 SQL

Cloudflare has announced support for GROUP BY, SUM and other aggregation queries in R2 SQL, enabling SQL analyses over data stored in R2 Data Catalog. The post explains how aggregations provide a bird’s-eye summary and can be used to generate reports, with examples such as selecting department and sum(value) from sales grouped by department, and further filtering with ORDER BY and HAVING clauses.

It describes two aggregation approaches—compute sooner or later—highlighting pre-aggregates and the need to split queries into phases when aggregates are referenced in HAVING or ORDER BY. A key shift is from scatter-gather to shuffling in which a deterministic hash partitioning stage colocates data by grouping key, followed by a streaming merge where the coordinator performs a k-way merge to deliver final results.

The update, dated 18 December 2025, emphasises that aggregations extend R2 SQL into a distributed analytics engine capable of processing massive datasets without moving data out of R2.

Sources

On this device

Following

Intel

VendorsThreat actorsResearch reports

Settings

CyberSIXT summarises security news every 30 minutes.

↑↓ move↵ open⌘C copy CVE IDEsc close

Keyboard shortcuts

Everything works with a mouse or touch. Shortcuts are a faster path.

Search ⌘K
Search /
Next item J
Previous item K
Go to Today GT
Go to News GN
Go to CVEs GC
Go to Briefing GB
Reduce motion on this device