You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…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]>
Describe the enhancement requested
Instead of those methods
arrow.MapType.ElemField
&arrow.MapType.Elem
should be used (as they correspond to treating MapType as list-likeComponent(s)
Go
The text was updated successfully, but these errors were encountered: