We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Since gemini dump all the values into single value list:
gemini
func (g *Generator) createPartitionKeyValues(r *rand.Rand) []interface{} { var values []interface{} for _, pk := range g.table.PartitionKeys { values = append(values, pk.Type.GenValue(r, g.partitionsConfig)...) } return values }
And then extracts them by index assuming that index on resulted array matches PK:
func (rc *RoutingKeyCreator) CreateRoutingKey(table *Table, values []interface{}) ([]byte, error) { ... for i := range partitionKeys { encoded, err := gocql.Marshal( partitionKeys[i].Type.CQLType(), values[i], ) ...
Having more then 1 value in GenValue for the any PK member will leat to have values not matching PK members and subsequent failure.
GenValue
The text was updated successfully, but these errors were encountered:
When branches are created from issues, their pull requests are automatically linked.
Since
gemini
dump all the values into single value list:And then extracts them by index assuming that index on resulted array matches PK:
Having more then 1 value in
GenValue
for the any PK member will leat to have values not matching PK members and subsequent failure.The text was updated successfully, but these errors were encountered: