[
https://issues.apache.org/jira/browse/CASSANDRA-11935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16635958#comment-16635958
]
Benedict edited comment on CASSANDRA-11935 at 10/2/18 7:04 PM:
---------------------------------------------------------------
Perhaps, and perhaps this contributed to being perceived as harsh - and I am
very sorry for the opening of this discussion to have been perceived that way.
I'm hoping to follow up with a meta discussion about how we approach this
category of feature in future, so we can have a clearer definition of 'done' to
avoid this confusion in future.
was (Author: benedict):
Perhaps, and perhaps this contributed to being perceived as harsh - and I am
very sorry for the opening of this discussion to have been perceived that way.
I'm hoping to follow up with a meta discussion about how we approach this
category of feature in future, so we can have a clearer definition of 'done' -
and perhaps I jumped the gun on that.
If the community _does_ decide the feature should be changed before release, I
do think this is the right place for the follow-up to live.
> Add support for arithmetic operators
> ------------------------------------
>
> Key: CASSANDRA-11935
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11935
> Project: Cassandra
> Issue Type: Sub-task
> Components: CQL
> Reporter: Benjamin Lerer
> Priority: Major
> Fix For: 4.0
>
>
> The goal of this ticket is to add support for arithmetic operators:
> * {{-}}: Change the sign of the argument
> * {{+}}: Addition operator
> * {{-}}: Minus operator
> * {{*}}: Multiplication operator
> * {{/}}: Division operator
> * {{%}}: Modulo operator
> This ticket we should focus on adding operator only for numeric types to keep
> the scope as small as possible. Dates and string operations will be adressed
> in follow up tickets.
> The operation precedence should be:
> # {{*}}, {{/}}, {{%}}
> # {{+}}, {{-}}
> Some implicit data conversion should be performed when operations are
> performed on different types (e.g. double + int).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]