You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Himanshu Jindal (Jira)" <ji...@apache.org> on 2025/04/18 17:33:00 UTC

[jira] [Commented] (CASSANDRA-20269) Add generators for constraints for CQL fuzz testing

    [ https://issues.apache.org/jira/browse/CASSANDRA-20269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945720#comment-17945720 ] 

Himanshu Jindal commented on CASSANDRA-20269:
---------------------------------------------

[~bernardo.botella] Can you clarify the goal of this jira? Is it to just extend the generators class to be able to generate a table with constraints? Will that be used in a specific test? If I add it to an existing test, then those tests will fail as some of the data being generated will not meet the newly added constraints.

I have a commit here that adds a constrain to table metadata and allows generators to generate a table with those constrains - https://github.com/apache/cassandra/compare/trunk...himanshujindal:cassandra:trunk. It is not ready for merge, but if this is the functionality that we need to achieve, then I can work on polishing this.

> Add generators for constraints for CQL fuzz testing
> ---------------------------------------------------
>
>                 Key: CASSANDRA-20269
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20269
>             Project: Apache Cassandra
>          Issue Type: Improvement
>          Components: Feature/Constraints
>            Reporter: Bernardo Botella Corbi
>            Assignee: Himanshu Jindal
>            Priority: Normal
>
> A good improvement for constraints test coverage is adding constraints generators for CQL fuzzy testing. For that, `test/unit/org/apache/cassandra/utils/CassandraGenerators.java` class can be expanded with such generators when creating columns for fuzzy testing.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org