Skip to content

fix(arrow/extensions): compare JSON storage types semantically - #1150

Open
fallintoplace wants to merge 1 commit into
apache:mainfrom
fallintoplace:fix/json-storage-type-equality
Open

fix(arrow/extensions): compare JSON storage types semantically#1150
fallintoplace wants to merge 1 commit into
apache:mainfrom
fallintoplace:fix/json-storage-type-equality

Conversation

@fallintoplace

Copy link
Copy Markdown
Contributor

What

NewJSONType used interface equality when checking supported storage types. A distinct StringType value is semantically the same Arrow type but could be rejected. This uses arrow.TypeEqual for the supported storage type check.

Test

  • go test ./arrow/extensions -count=1

@fallintoplace
fallintoplace marked this pull request as ready for review August 8, 2026 15:52
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