Skip to content
This repository was archived by the owner on Feb 21, 2024. It is now read-only.

Commit f50685d

Browse files
authored
Merge pull request #1487 from benbjohnson/proto-keys
encoding/proto: Fix key fields in protobuf.
2 parents a02a894 + 1fd2856 commit f50685d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

encoding/proto/proto.go

+2
Original file line numberDiff line numberDiff line change
@@ -961,6 +961,7 @@ func encodeColumnAttrSets(a []*pilosa.ColumnAttrSet) []*internal.ColumnAttrSet {
961961
func encodeColumnAttrSet(set *pilosa.ColumnAttrSet) *internal.ColumnAttrSet {
962962
return &internal.ColumnAttrSet{
963963
ID: set.ID,
964+
Key: set.Key,
964965
Attrs: encodeAttrs(set.Attrs),
965966
}
966967
}
@@ -972,6 +973,7 @@ func encodeRow(r *pilosa.Row) *internal.Row {
972973

973974
return &internal.Row{
974975
Columns: r.Columns(),
976+
Keys: r.Keys,
975977
Attrs: encodeAttrs(r.Attrs),
976978
}
977979
}

0 commit comments

Comments
 (0)