You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documents three new R2 SQL capabilities: JSON functions for querying JSON data in Iceberg tables, EXPLAIN FORMAT JSON for programmatic query plan analysis, and support for unpartitioned Iceberg tables.
Add 10 JSON scalar functions to the SQL reference
Add EXPLAIN FORMAT JSON syntax and example
Update limitations to reflect unpartitioned table support
Update scalar function count from 163 to 173
Alphabetize scalar function sections for consistency
Add changelog entry for 2026-04-20
Documentation checklist
Is there a changelog entry (guidelines)? If you don't add one for something awesome and new (however small) — how will our customers find out? Changelogs are automatically posted to RSS feeds, the Discord, and X.
the changelog is clear and inherits guidance from our changelog command
examples in the docs are valid and clear
examples are exhaustive and guide users towards real-world use-cases and best-practices
fix trivial examples, and make suggestions on the PR otherwise.
Well-written changelog entry covering all three features with practical examples. The JSON example demonstrates path navigation, and the EXPLAIN FORMAT JSON example shows real output from a logpush query.
2. Limitations & Best Practices (src/content/docs/r2-sql/reference/limitations-best-practices.mdx)
Updated scalar function count from 163 to 173 ✓
Added "Partitioned and unpartitioned tables" row in Runtime constraints ✓
All examples use consistent my_namespace.sales_data pattern ✓
Observations
Changelog date: Set for 2026-04-20 (future date), which aligns with feature release timing
Function count: Correctly updated from 163 to 173 (+10 JSON functions)
Consistency: All JSON functions follow the same documentation pattern with clear examples
Alphabetization: The scalar functions file has been reorganized for better maintainability
The PR is comprehensive, well-structured, and ready for merge. All new features are documented with practical examples that users can immediately apply.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents three new R2 SQL capabilities: JSON functions for querying JSON data in Iceberg tables,
EXPLAIN FORMAT JSONfor programmatic query plan analysis, and support for unpartitioned Iceberg tables.EXPLAIN FORMAT JSONsyntax and exampleDocumentation checklist