Commits


Tom Scott-Coombes authored and GitHub committed c599fa0064a
GH-43554: [Go] Handle excluded fields (#43555) ### Rationale for this change We want to be able to handle excluded fields. ### What changes are included in this PR? * we no longer use the value of the field when getting the element type of a list (as the values are invalid for excluded fields) * similarly for map, key value pairs, we don't use the value is there is none * add some tests ### Are these changes tested? yes ### Are there any user-facing changes? no * GitHub Issue: #43554 Lead-authored-by: Tom Scott-Coombes <tscottcoombes@gmail.com> Co-authored-by: Tom Scott-Coombes <62209801+tscottcoombes1@users.noreply.github.com> Co-authored-by: Matt Topol <zotthewizard@gmail.com> Co-authored-by: tscottcoombes1 <62209801+tscottcoombes1@users.noreply.github.com> Co-authored-by: Joel Lubinitsky <33523178+joellubi@users.noreply.github.com> Signed-off-by: Joel Lubinitsky <joellubi@gmail.com>