Skip to content

remove array from the columnInfo and FieldType #320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
705 changes: 334 additions & 371 deletions go-tipb/expression.pb.go

Large diffs are not rendered by default.

92 changes: 26 additions & 66 deletions go-tipb/schema.pb.go
2 changes: 1 addition & 1 deletion proto/expression.proto
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ message FieldType {
optional int32 collate = 5 [(gogoproto.nullable) = false];
optional string charset = 6 [(gogoproto.nullable) = false];
repeated string elems = 7 [(gogoproto.nullable) = false];
optional bool array = 8 [(gogoproto.nullable) = false];
// Field 8 was used to mark whether the `FieldType` is an array.
}

enum ExprType {
2 changes: 1 addition & 1 deletion proto/schema.proto
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ message ColumnInfo {
repeated string elems = 7;
optional bytes default_val = 8; // Encoded datum.
optional bool pk_handle = 21 [(gogoproto.nullable) = false]; // PK handle column value is row handle.
optional bool array = 22 [(gogoproto.nullable) = false];
// Field 22 was used to mark whether the column is an array
}

message IndexInfo {