cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "C. Scott Andreas (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-9745) Better validation for values
Date Sun, 18 Nov 2018 18:12:03 GMT


C. Scott Andreas updated CASSANDRA-9745:
    Component/s: CQL

> Better validation for values
> ----------------------------
>                 Key: CASSANDRA-9745
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: CQL
>            Reporter: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 4.x
> The only server side validation we do for values is currently that they match their type.
Now that we have UDFs, we could allow to optionally specify a (boolean) value validation function
on a per-column basis. This would give us a pretty generic way of validating value, which
sounds useful to me.
> Once we have that, we could even add some syntactic sugar for some common type of validations,
like {{v int[0..100]}} for numbers between 0 and 100, or {{v text[20]}} for a string that
is not longer than 20, ... That's more of a follow up however.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message