Skip to content

Commit

Permalink
ARROW-14351: [IR] Add projection list to Source node
Browse files Browse the repository at this point in the history
- Add projection field indices to Source
- Regenerate code

Closes apache#11439 from cpcloud/ARROW-14351

Authored-by: Phillip Cloud <[email protected]>
Signed-off-by: Benjamin Kietzman <[email protected]>
  • Loading branch information
cpcloud authored and bkietz committed Oct 29, 2021
1 parent 2ae84e8 commit e8270d7
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 4 deletions.
31 changes: 27 additions & 4 deletions cpp/src/generated/Relation_generated.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions experimental/computeir/Relation.fbs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,15 @@ table Source {
filter: Expression;
/// Schemas are explicitly optional
schema: org.apache.arrow.flatbuf.Schema;
/// An optional list of field indices indicating which columns should be read
/// from the source. Columns excluded from this listing will instead be replaced
/// with all-null placeholders to guarantee that the schema of the source is
/// unaffected by this projection.
///
/// A missing value indicates all columns should be read.
///
/// The behavior of an empty list is undefined.
projection: [FieldIndex];
}

/// The varieties of relations
Expand Down

0 comments on commit e8270d7

Please sign in to comment.