Commits


Alex Shcherbakov authored and GitHub committed daacbcc4c5f
GH-35909: [Go] Deprecate `arrow.MapType.ValueField` & `arrow.MapType.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>