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

Andres de la Peña updated CASSANDRA-18037:
------------------------------------------
    Test and Documentation Plan: 
||PR||CI||
|[trunk|https://github.com/apache/cassandra/pull/2236]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/2727/workflows/1c22ea8a-bd97-47d9-8c7a-9ea7ede84926]
 
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/2727/workflows/1be4eb86-899b-46d2-b06b-3bf08dc56abd]|
|[dtest|https://github.com/apache/cassandra-dtest/pull/217]||

  was:
||PR||CI||
|[trunk|https://github.com/apache/cassandra/pull/2236]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/2722/workflows/e4fc72c4-ebd0-49e1-9425-1333b53849b8]
 
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/2722/workflows/91d86ea4-9ee5-4efa-8615-eac8fd9ff5e4]|
|[dtest|https://github.com/apache/cassandra-dtest/pull/217]||

                         Status: Patch Available  (was: In Progress)

> Use snake case for the names of CQL native functions
> ----------------------------------------------------
>
>                 Key: CASSANDRA-18037
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18037
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: CQL/Syntax
>            Reporter: Andres de la Peña
>            Assignee: Andres de la Peña
>            Priority: Normal
>             Fix For: 5.x
>
>
> Most native functions are named all lower case, without underscore nor hyphen 
> to separate words. That's the case, for example, of "intasblob" or 
> "blobasint".
> We also have some functions using camel case, as in "castAsInt" or 
> "castAsTimestamp". Note that the came cased names require quoting due to 
> CQL's case insensitivity.
> Differently to CQL native functions, system keyspaces, tables and columns 
> consistently use snake case. For example, we have "system_schema", 
> "dropped_columns", "default_time_to_live".
> As discussed in [this 
> thread|https://lists.apache.org/thread/k9ml1k4fg6o7mfby1nr3y0mnq9r90dym], we 
> should adopt snake_case for CQL native function names. Also we should provide 
> aliases for the current function names, so we don't break compatibility.



--
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