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 <candiduslynx@gmail.com> Signed-off-by: Matt Topol <zotthewizard@gmail.com>
|
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 <candiduslynx@gmail.com> Signed-off-by: Matt Topol <zotthewizard@gmail.com>
Rationale for this change
Add
arrow.ListLikeTypeinterface corresponding toarray.ListLikeimplementations.What changes are included in this PR?
arrow.ListLikeTypeAre these changes tested?
No (per it mainly being the interface addition)
Are there any user-facing changes?
arrow.ListLikeType