Skip to content

Commit

Permalink
addressing comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jcamachor committed Jan 30, 2025
1 parent 71d3e8b commit a9b3a8d
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions proto/substrait/plan.proto
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ message Plan {
repeated string expected_type_urls = 5;

// An optional list of bindings for dynamic parameters used in this plan.
// Each binding maps a parameter_anchor to its corresponding runtime value.
repeated ParameterBinding parameter_bindings = 7;
// The index of each entry in the list corresponds to the parameter_anchor
// of a DynamicParameter expression, mapping it to its runtime value.
repeated Expression.Literal parameter_bindings = 7;
}

// This message type can be used to deserialize only the version of a Substrait
Expand Down Expand Up @@ -84,12 +85,3 @@ message Version {
// created the plan.
string producer = 5;
}

// Represents a binding for a dynamic parameter.
message ParameterBinding {
// The parameter anchor that identifies the dynamic parameter reference.
uint32 parameter_anchor = 1;

// The literal value assigned to the parameter at runtime.
Expression.Literal value = 2;
}

0 comments on commit a9b3a8d

Please sign in to comment.