friendlymatthew opened a new pull request, #8959: URL: https://github.com/apache/arrow-rs/pull/8959
# Which issue does this PR close? - Closes https://github.com/apache/arrow-rs/issues/8958 # Rationale for this change This PR introduces 2 ways to access elements of `UnionFields` by index. You can now use direct indexing (`fields[idx]`) or the safe accessor `UnionFields::get(index: usize)` to avoid potential panics Note, since we validate `UnionFields` contains only 128 elements upon construction, we can forgo this check upon read - https://github.com/apache/arrow-rs/pull/8891 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
