File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -68,15 +68,14 @@ func ConvertToMappedSpecOrdering(
68
68
}
69
69
70
70
// Expression is the representation of a SQL expression.
71
+ //
71
72
// See data.proto for the corresponding proto definition. Its automatic type
72
73
// declaration is suppressed in the proto via the typedecl=false option, so that
73
74
// we can add the LocalExpr field which is not serialized. It never needs to be
74
- // serialized because we only use it in the case where we know we won't need to
75
- // send it, as a proto, to another machine.
75
+ // serialized because it's just an optimization on the gateway to avoid
76
+ // redundant deserialization (Expr will be set when protos are sent to remote
77
+ // nodes).
76
78
type Expression struct {
77
- // Version is unused.
78
- Version string
79
-
80
79
// Expr, if present, is the string representation of this expression.
81
80
// SQL expressions are passed as a string, with ordinal references
82
81
// (@1, @2, @3 ..) used for "input" variables.
Original file line number Diff line number Diff line change @@ -40,12 +40,11 @@ message Expression {
40
40
option (gogoproto.typedecl ) = false ;
41
41
option (gogoproto.goproto_stringer ) = false ;
42
42
43
- // TODO(radu): TBD how this will be used
44
- optional string version = 1 [(gogoproto.nullable ) = false ];
45
-
46
43
// SQL expressions are passed as a string, with ordinal references
47
44
// (@1, @2, @3 ..) used for "input" variables.
48
45
optional string expr = 2 [(gogoproto.nullable ) = false ];
46
+
47
+ reserved 1 ;
49
48
}
50
49
51
50
// Ordering defines an order - specifically a list of column indices and
You can’t perform that action at this time.
0 commit comments