Skip to content

feat(bigquery): support JSON array operations - #12053

Open
corleyma wants to merge 3 commits into
ibis-project:mainfrom
corleyma:corleyma/bigquery-json-array-operations
Open

feat(bigquery): support JSON array operations#12053
corleyma wants to merge 3 commits into
ibis-project:mainfrom
corleyma:corleyma/bigquery-json-array-operations

Conversation

@corleyma

Copy link
Copy Markdown

Description of changes

  • Compile string-to-JSON casts with PARSE_JSON and string-to-JSON try casts with SAFE.PARSE_JSON.
  • Compile JSON array unwrapping with JSON_QUERY_ARRAY, enabling JSON arrays to participate in Ibis array operations such as unnest.
  • Add compiler snapshots and BigQuery system coverage for valid, malformed, empty, null, non-array, and relational JSON-array cases.

Testing

  • just ci-check "--extra bigquery" ibis/backends/bigquery/tests/unit (260 passed, 4 xfailed)
  • uv run --group dev pre-commit run --files <changed files>

@github-actions github-actions Bot added tests Issues or PRs related to tests bigquery The BigQuery backend sql Backends that generate SQL labels Jul 23, 2026
@corleyma
corleyma marked this pull request as ready for review July 23, 2026 20:24
@corleyma
corleyma force-pushed the corleyma/bigquery-json-array-operations branch from ee253d5 to be8fbcc Compare August 7, 2026 03:43
@corleyma
corleyma force-pushed the corleyma/bigquery-json-array-operations branch from 1d38580 to cc5b4ab Compare August 15, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bigquery The BigQuery backend sql Backends that generate SQL tests Issues or PRs related to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant