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)

Reply via email to