You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jason Huynh (JIRA)" <ji...@apache.org> on 2018/02/22 19:50:00 UTC
[jira] [Commented] (GEODE-4327) OQL Support for Modulus & Other
Arithmetic Operators
[ https://issues.apache.org/jira/browse/GEODE-4327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16373338#comment-16373338 ]
Jason Huynh commented on GEODE-4327:
------------------------------------
code changes merged in with commit: 2daf8d779f667e663feb45c35def40b3c2976fab
> OQL Support for Modulus & Other Arithmetic Operators
> ----------------------------------------------------
>
> Key: GEODE-4327
> URL: https://issues.apache.org/jira/browse/GEODE-4327
> Project: Geode
> Issue Type: Improvement
> Components: docs, querying
> Reporter: Jason Huynh
> Assignee: Karen Smoler Miller
> Priority: Major
> Labels: pull-request-available
> Time Spent: 2h
> Remaining Estimate: 0h
>
> It would be nice to be able to do 'mod', '%', '+', '-', '/', '*' in a query and have the corresponding arithmetic/mod calculation be evaluated in the query.
>
> simple example:
> "Select * from /region r where r.id % 12 = 1"
> or
> "Select * from /region r where r.age * 10 = 100"
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)