[
https://issues.apache.org/jira/browse/CASSANDRA-5505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14704628#comment-14704628
]
Sylvain Lebresne commented on CASSANDRA-5505:
---------------------------------------------
I'll note that imo this is not very useful in the current state of CQL and
hence, imo, not worth adding the complexity.
And I think this is not very useful because in pretty much any place we could
easily support this currently, you can pretty much do your basic arithmetic
client side. _If_ we were to support things like
{{noformat}}
SELECT * FROM t WHERE c1 = c2 + 1;
{{noformat}}
then yes, this will be a nice to have, but we don't support that kind of
condition between 2 columns and while we will likely add it in the future, this
is out of scope for this issue.
So I'm personally in favor of closing this as "later".
> Please add support for basic arithmetic operations in CQL
> ---------------------------------------------------------
>
> Key: CASSANDRA-5505
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5505
> Project: Cassandra
> Issue Type: Wish
> Reporter: Arthur Zubarev
> Assignee: Benjamin Lerer
> Labels: cql
>
> Please add support for basic arithmetic operations in CQL as -, +, /, *.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)