Skip to content

Preserve JSON null when indexing into an array#36

Merged
rayokota merged 1 commit into
masterfrom
fix-array-null
May 24, 2026
Merged

Preserve JSON null when indexing into an array#36
rayokota merged 1 commit into
masterfrom
fix-array-null

Conversation

@rayokota
Copy link
Copy Markdown
Owner

@rayokota rayokota commented May 24, 2026

evaluate_filter was treating an in-bounds array element that happens to be JSON null the same as an out-of-bounds access, so a numeric predicate like $row[1] would silently drop the element instead of returning null.

Fixes #35

@rayokota rayokota merged commit e73507e into master May 24, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Null values from array indexing inside $map are dropped

1 participant