[
https://issues.apache.org/jira/browse/CASSANDRA-21787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18132255#comment-18132255
]
Stefan Miklosovic commented on CASSANDRA-21787:
-----------------------------------------------
new CI with more changes which landed in between
https://app.circleci.com/pipelines/github/instaclustr/cassandra/6868/workflows/e657b257-ac80-492d-9bbb-e650ad54cdf3
> Fix de/serialisation of constraint, also dont make length and octect length
> constraints parse the term every single evaluation
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-21787
> URL: https://issues.apache.org/jira/browse/CASSANDRA-21787
> Project: Apache Cassandra
> Issue Type: Improvement
> Components: CQL/Syntax
> Reporter: Bernardo Botella Corbi
> Assignee: Bernardo Botella Corbi
> Priority: Normal
> Fix For: 6.0-alpha
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Right now, those constraints are doing a parse int for every evaluation.
> Given that this is on the write path, it is an easy improvement to do what
> regex constraint does and just parse it at the validation step.
> This was a finding from the CoC 2026 talk in Glasgow.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]