dcapwell commented on code in PR #3995:
URL: https://github.com/apache/cassandra/pull/3995#discussion_r2004334846
##########
test/distributed/org/apache/cassandra/distributed/test/cql3/SingleNodeTableWalkTest.java:
##########
@@ -88,10 +101,20 @@ protected void preCheck(Cluster cluster,
Property.StatefulBuilder builder)
// CQL_DEBUG_APPLY_OPERATOR = true;
}
- protected TypeGenBuilder supportedTypes()
+ protected TypeGenBuilder supportedTypes(RandomSource rs)
{
- return
AbstractTypeGenerators.withoutUnsafeEquality(AbstractTypeGenerators.builder()
-
.withTypeKinds(AbstractTypeGenerators.TypeKind.PRIMITIVE));
+ return AbstractTypeGenerators.builder()
+
.withTypeKinds(Generators.fromGen(TYPE_KIND_DISTRIBUTION.next(rs)))
+
.withPrimitives(Generators.fromGen(PRIMITIVE_DISTRIBUTION.next(rs)))
+
.withUserTypeFields(AbstractTypeGenerators.UserTypeFieldsGen.simpleNames())
+ .withMaxDepth(1);
Review Comment:
ATM we are not testing nested access (will need to eventually) so lowered as
the cql literal output was so large it got hard to read (UDT of map of UDT of
map of UDT....)
--
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]