---
title: "Basin SQL JSON functions now support documents up to 16 MiB — Cloud Changelog"
description: "Basin SQL JSON functions now accept JSON documents up to 16 MiB (16,777,216 bytes), increased from the previous 2,000-byte limit. The higher limit lets yo…"
url: "https://cloudchangelog.com/cloudflare/2026-12-03-json-document-size-limit-increase"
updated: "2026-12-03"
---

[Back to feed](https://cloudchangelog.com/feed/2026-W49)

December 3, 2026 · Cloudflare

# Basin SQL JSON functions now support documents up to 16 MiB

- [Basin SQL](https://cloudchangelog.com/products/cloudflare/basin-sql)
- [Basin](https://cloudchangelog.com/products/cloudflare/basin)
- [Analytics](https://cloudchangelog.com/search?q=analytics)

## What changed

**Basin SQL JSON functions:** Document size limit raised from 2,000 bytes to 16 MiB.

[Basin SQL](https://developers.cloudflare.com/basin-sql/) JSON functions now accept JSON documents up to 16 MiB (16,777,216 bytes), increased from the previous 2,000-byte limit.

The higher limit lets you query full application events, telemetry records, and logs stored as JSON strings in Apache Iceberg tables without preprocessing or splitting fields. It applies across JSON scalar functions, including `json_get`, `json_get_str`, `json_get_int`, `json_contains`, and `json_length`.

For the full list of JSON functions and runtime constraints, refer to [JSON functions](https://developers.cloudflare.com/basin-sql/sql-reference/scalar-functions/#json-functions) and [Limitations and best practices](https://developers.cloudflare.com/basin-sql/reference/limitations-best-practices/).

Get the week’s Cloudflare changes in one email

Your email address

Free, every Monday: only what changed in Cloudflare that week. We email you a link to confirm.

[See last week’s digest](https://cloudchangelog.com/digests/weekly-2026-W48#provider-cloudflare)

Free. Unsubscribe any time.

[Read on developers.cloudflare.com](https://developers.cloudflare.com/changelog/post/2026-12-03-json-document-size-limit-increase/)

## Related updates

- Apr 20, 2026

  [Basin SQL, Basin - R2 SQL adds JSON functions, EXPLAIN FORMAT JSON, and unpartitioned table support](https://cloudchangelog.com/cloudflare/2026-04-20-r2-sql-json-functions-explain-format)
- Mar 23, 2026

  [Basin SQL, Basin - R2 SQL now supports over 190 new functions, expressions, and complex types](https://cloudchangelog.com/cloudflare/2026-03-23-expanded-sql-functions-expressions-complex-types)
- Oct 1, 2026

  [Basin Pipelines ingest limit increased to 1 GB/s](https://cloudchangelog.com/cloudflare/2026-10-01-stream-ingest-limit-increase)
- Feb 9, 2026

  [Basin SQL - R2 SQL now supports approximate aggregation functions](https://cloudchangelog.com/cloudflare/2026-02-09-approximate-aggregation-functions)
- Nov 6, 2026

  [Amazon Redshift expands SUPER data type to store strings up to 16 million bytes](https://cloudchangelog.com/a/2026-11-amazon-redshift-expands-super-to-16-million-bytes) · AWS

[All Basin SQL changes](https://cloudchangelog.com/products/cloudflare/basin-sql)

## Contact

- [YouTube](https://www.youtube.com/@cloudchangelog)
