Commits


Tim Schaub authored and GitHub committed 2895af49223
GH-37845: [Go][Parquet] Check the number of logical fields instead of physical columns (#37846) ### Rationale for this change This makes it so trying to read with a column chunk reader consistently returns an error if the index is outside the bounds of the logical fields (currently it panics in some cases and returns an error in others). ### What changes are included in this PR? This makes it so the column chunk reader checks the number of logical fields instead of the number of physical columns when checking if an index is out of range. ### Are these changes tested? The new test will panics without the accompanying code change. ### Are there any user-facing changes? Applications that used to panic will now have an error to handle instead. * Closes: #37845 Authored-by: Tim Schaub <tim@planet.com> Signed-off-by: Matt Topol <zotthewizard@gmail.com>