Skip to content

Commit

Permalink
feat: add hint containing field names to RelCommon
Browse files Browse the repository at this point in the history
Allows the output field names of any relation to be set or reset

Signed-off-by: andrew-coleman <[email protected]>
Signed-off-by: Andrew Coleman <[email protected]>
  • Loading branch information
andrew-coleman committed Sep 4, 2024
1 parent aab0153 commit cd03365
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions proto/substrait/algebra.proto
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ message RelCommon {
// Name (alias) for this relation. Can be used for e.g. qualifying the relation (see e.g.
// Spark's SubqueryAlias), or debugging.
string alias = 3;
// Assigns alternative output field names for any relation. Equivalent to the names field
// in RelRoot but applies to the output of the relation this RelCommon is attached to.
repeated string output_names = 4;

substrait.extensions.AdvancedExtension advanced_extension = 10;

Expand Down

0 comments on commit cd03365

Please sign in to comment.