Skip to content

Commit

Permalink
schema: More partition key types
Browse files Browse the repository at this point in the history
  • Loading branch information
penberg authored and Henrik Johansson committed Mar 8, 2019
1 parent f4c1eaf commit 305ac63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func GenSchema() *Schema {
partitionKeys := []ColumnDef{}
numPartitionKeys := rand.Intn(MaxPartitionKeys-1) + 1
for i := 0; i < numPartitionKeys; i++ {
partitionKeys = append(partitionKeys, ColumnDef{Name: genColumnName("pk", i), Type: "int"})
partitionKeys = append(partitionKeys, ColumnDef{Name: genColumnName("pk", i), Type: genColumnType()})
}
clusteringKeys := []ColumnDef{}
numClusteringKeys := rand.Intn(MaxClusteringKeys)
Expand Down

0 comments on commit 305ac63

Please sign in to comment.