dcapwell commented on code in PR #3689:
URL: https://github.com/apache/cassandra/pull/3689#discussion_r1852650888
##########
test/harry/main/org/apache/cassandra/harry/gen/SchemaGenerators.java:
##########
@@ -94,4 +96,16 @@ public ColumnSpec<?> generate(EntropySource rng)
}
};
}
+
+ public static LongFunction<SchemaSpec> trivialSchema(String ks, String
table, int population)
Review Comment:
can we use `Generator` instead? the class name is `Generator`, all other
methods use `Generator`, so this becomes an outlier. Even the caller has to do
`rng.next()` rather than `rng` like the other code paths
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]