Skip to content

fix(arrow/array): validate union JSON type codes - #1157

Draft
fallintoplace wants to merge 1 commit into
apache:mainfrom
fallintoplace:fix/array-union-json-type-codes
Draft

fix(arrow/array): validate union JSON type codes#1157
fallintoplace wants to merge 1 commit into
apache:mainfrom
fallintoplace:fix/array-union-json-type-codes

Conversation

@fallintoplace

Copy link
Copy Markdown
Contributor

What

Validate union type IDs before narrowing them to int8 in both sparse and dense JSON decoders. Out-of-range, negative, and nonnumeric type IDs are rejected.

Test

  • go test ./arrow/array -run ^TestUnion -count=1

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.

1 participant