[C++] Add support for filename, file index, and batch index columns to exec plan based scanner
- Dominant language
- C++
- Stars
- 17.1k
- Forks
- 4.3k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 91
Description
The old scanner currently appends these three fields to all outgoing batches. In retrospect, this caused some confusion, so I'd like to handle it slightly differently, where the user is able to request these fields, but they are not automatically appended.
**Reporter**: [Weston Pace](https://issues.apache.org/jira/browse/ARROW-18386) / @westonpace
**Assignee**: [Weston Pace](https://issues.apache.org/jira/browse/ARROW-18386) / @westonpace
**Note**: *This issue was originally created as [ARROW-18386](https://issues.apache.org/jira/browse/ARROW-18386). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*
Contributor guide
Assessment
This issue has not been assessed yet.