cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Coli <>
Subject Re: Keyspace name length
Date Mon, 04 May 2015 17:43:32 GMT
(docs AT added to the bcc: for their information.)

On Fri, May 1, 2015 at 11:15 AM, Saurabh Sethi <>

> Apache’s Cassandra code validates the keyspace name length for max 48
> characters whereas Datastax’s documentation says keyspace name should be 32
> or fewer characters.
> Which of these is correct?

Apache Cassandra is open-source, questions like this can trivially be
answered by reading the source code.

src/java/org/apache/cassandra/config/            throw new
ConfigurationException(String.format("Keyspace name must not be empty, more
than %s characters long, or contain non-alphanumeric-underscore characters
(got \"%s\")", Schema.NAME_LENGTH, name));

src/java/org/apache/cassandra/config/    public static final
int NAME_LENGTH = 48;


View raw message