cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bharat Kasodariya (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-6868) Compare values as doubles in a JCR-SQL2 query
Date Sat, 15 Mar 2014 09:16:43 GMT
Bharat Kasodariya created CASSANDRA-6868:
--------------------------------------------

             Summary: Compare values as doubles in a JCR-SQL2 query
                 Key: CASSANDRA-6868
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6868
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Bharat Kasodariya


I am trying to compare JCR node's string properties with a double value in JCR-SQL2. But it
is comparing the values as strings.

For example:

SELECT * FROM [nodex] as x  where x.propertyY <= 20.50
Here propertyY is the string in the definition.

I tried this with CASE but it still does not work. Can I compare it as double without changing
the property definition?

I posted question here
http://stackoverflow.com/questions/22300610/compare-values-as-doubles-in-a-jcr-sql2-query



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message