[ 
https://issues.apache.org/jira/browse/CASSANDRA-21787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bernardo Botella Corbi updated CASSANDRA-21787:
-----------------------------------------------
    Change Category: Performance
         Complexity: Low Hanging Fruit
        Component/s: CQL/Syntax
      Fix Version/s: 7.0
           Assignee: Bernardo Botella Corbi
             Status: Open  (was: Triage Needed)

> 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: 7.0
>
>
> 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
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to