I personally prefer to use the name "keyspace", because it avoids the confusion between the "database software/server" and the "collection of tables in a database". "An SQL database" can mean different things in different contexts, but "a Cassandra keyspace" always mean the same thing.

On 04/04/2023 16:48, Mike Adamson wrote:
Hi,

I'd like to propose that we add DATABASE to the CQL grammar as an alternative to KEYSPACE.

Background: While TABLE was introduced as an alternative for COLUMNFAMILY in the grammar we have kept KEYSPACE for the container name for a group of tables. Nearly all traditional SQL databases use DATABASE as the container name for a group of tables so it would make sense for Cassandra to adopt this naming as well.

KEYSPACE would be kept in the grammar but we would update some logging and documentation to encourage use of the new name.

Mike Adamson

--
DataStax Logo Square <https://www.datastax.com/>  *Mike Adamson*
Engineering

+1 650 389 6000 <tel:16503896000>|datastax.com <https://www.datastax.com/>

Find DataStax Online: LinkedIn Logo <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.linkedin.com_company_datastax&d=DwMFaQ&c=adz96Xi0w1RHqtPMowiL2g&r=IFj3MdIKYLLXIUhYdUGB0cTzTlxyCb7_VUmICBaYilU&m=uHzE4WhPViSF0rsjSxKhfwGDU1Bo7USObSc_aIcgelo&s=akx0E6l2bnTjOvA-YxtonbW0M4b6bNg4nRwmcHNDo4Q&e=> Facebook Logo <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.facebook.com_datastax&d=DwMFaQ&c=adz96Xi0w1RHqtPMowiL2g&r=IFj3MdIKYLLXIUhYdUGB0cTzTlxyCb7_VUmICBaYilU&m=uHzE4WhPViSF0rsjSxKhfwGDU1Bo7USObSc_aIcgelo&s=ncMlB41-6hHuqx-EhnM83-KVtjMegQ9c2l2zDzHAxiU&e=> Twitter Logo <https://twitter.com/DataStax> RSS Feed <https://www.datastax.com/blog/rss.xml> Github Logo <https://github.com/datastax>

Reply via email to