You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not immediately clear when creating a Scan request how one should specify the columns in a row that they are interested in retrieving.
After seeing some existing code written by others I saw that you can use the tsuna/gohbase/hrpc/query.go:Families option to specify the family as a key and the list of columns (qualifiers) in the family as a string slice in a map to get those families/columns in the result.
We should add some comments documenting what the Families map keys and values are supposed to represent. Alternatively rename the option to something like FamiliesWithColumns or FamiliesWithQualifiers to indicate that column selection is supported.
The text was updated successfully, but these errors were encountered:
Right, I think the best would be to add documentation. Don't really think the other two functions would make sense.
Wanna contribute and make the change? :)
It is not immediately clear when creating a Scan request how one should specify the columns in a row that they are interested in retrieving.
After seeing some existing code written by others I saw that you can use the
tsuna/gohbase/hrpc/query.go:Families
option to specify the family as a key and the list of columns (qualifiers) in the family as a string slice in a map to get those families/columns in the result.We should add some comments documenting what the Families map keys and values are supposed to represent. Alternatively rename the option to something like
FamiliesWithColumns
orFamiliesWithQualifiers
to indicate that column selection is supported.The text was updated successfully, but these errors were encountered: