alamb opened a new pull request, #7220: URL: https://github.com/apache/arrow-datafusion/pull/7220
## Which issue does this PR close? Related to https://github.com/apache/arrow-datafusion/issues/7193 Follows https://github.com/apache/arrow-datafusion/pull/7215 from @izveigor ## Rationale for this change In order to have a good experience accessing fields, it should be easy to use the code that manipulates them ## What changes are included in this PR? 1. Rename `GetFieldAccessCharacteristic` to `GetFieldAccessSchema` to better reflect what it does 2. move the calculation into `GetFieldAccessSchema::get_accessed_field` 3. Reduce duplication ## Are these changes tested? Covered by existing tests <!-- We typically require tests for all PRs in order to: 1. Prevent the code from being accidentally broken by subsequent changes 4. Serve as another way to document the expected behavior of the code If tests are not included in your PR, please explain why (for example, are they covered by existing tests)? --> ## Are there any user-facing changes? No, these are unreleased APIs (added in https://github.com/apache/arrow-datafusion/pull/7215) <!-- If there are user-facing changes then we may require documentation to be updated before approving the PR. --> <!-- If there are any breaking changes to public APIs, please add the `api change` label. --> -- 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]
