Rename index to avoid possible conflict

This commit is contained in:
nagamocha3000 2021-02-26 19:09:17 +03:00 committed by Matt Jaffee
parent a6c157d5db
commit 2de543bc55
No known key found for this signature in database
GPG key ID: 08A3DFFF987B11BF

View file

@ -6977,11 +6977,11 @@ func variousQueriesOnPercentiles(t *testing.T, clusterSize int) {
}
// generic index
c.CreateField(t, "users", pilosa.IndexOptions{Keys: true, TrackExistence: true}, "net_worth", pilosa.OptFieldTypeInt(min, max))
c.ImportIntKey(t, "users", "net_worth", intEntries)
c.CreateField(t, "users2", pilosa.IndexOptions{Keys: true, TrackExistence: true}, "net_worth", pilosa.OptFieldTypeInt(min, max))
c.ImportIntKey(t, "users2", "net_worth", intEntries)
c.CreateField(t, "users", pilosa.IndexOptions{Keys: true, TrackExistence: true}, "val", pilosa.OptFieldKeys())
c.ImportKeyKey(t, "users", "val", stringEntries)
c.CreateField(t, "users2", pilosa.IndexOptions{Keys: true, TrackExistence: true}, "val", pilosa.OptFieldKeys())
c.ImportKeyKey(t, "users2", "val", stringEntries)
splitSortBackToCSV := func(csvStr string) string {
ss := strings.Split(csvStr[:len(csvStr)-1], "\n")