-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MINOR: [Go] Add arrow.ListLikeType
interface
#35885
Conversation
d2f365d
to
5071eaf
Compare
Follow-up after apache/arrow#35885
### Rationale for this change Follow-up for #35885 ### What changes are included in this PR? Removed `listLikeType` interface from `ipc.go` & swapped it for `arrow.ListLikeType`. ### Are these changes tested? It's only a replace of the interface name. ### Are there any user-facing changes? No. Authored-by: candiduslynx <[email protected]> Signed-off-by: Matt Topol <[email protected]>
Benchmark runs are scheduled for baseline = cd42895 and contender = fb0c72c. fb0c72c is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
…ValueType` methods (#35899) ### Rationale for this change Follow-up for #35885 ### What changes are included in this PR? * Added `ElemField() Field` to `arrow.ListLikeType` interface * Added `ElemField() Field` to `arrow.MapType` implementation * Added deprecation notice to `arrow.MapType.ValueField` & `arrow.MapType.ValueType` * Fixed a bug in `go/arrow/array/map.go` (`NewMapBuilderWithType` used `ValueType` instead of `ItemType`) ### Are these changes tested? Compile-time assertion for corresponding types. ### Are there any user-facing changes? * Added `ElemField() Field` to `arrow.ListLikeType` interface * Added `ElemField() Field` to `arrow.MapType` implementation * Added deprecation notice to `arrow.MapType.ValueField` & `arrow.MapType.ValueType` * Closes: #35909 Authored-by: candiduslynx <[email protected]> Signed-off-by: Matt Topol <[email protected]>
Rationale for this change
Add
arrow.ListLikeType
interface corresponding toarray.ListLike
implementations.What changes are included in this PR?
arrow.ListLikeType
Are these changes tested?
No (per it mainly being the interface addition)
Are there any user-facing changes?
arrow.ListLikeType