my code looks like :
In the query below i am passing two timestamps and i need to pull ?value
field between these two dates .
:outfields ["?timestamp" "?category" "?name" "?value"
:classes[String String String Float]
(<- [?timestamp ?value]
((select-fields info ["?timestamp" "?value"]) ?timestamp ?value)))
(def dateto "12.05.2010 00:15:00")
(def datefrom "12.05.2010 00:10:00")
(?<- (stdout) [?timestamp ?value]
(info-tap ?timestamp ?value)
(> ?timestamp datefrom)
(< ?timestamp dateto)
Here applying > or < on String "?timestamp" field does not make sense . i
cannot even cast it to Float . So How do i deal with it ?
or should i try using cli-time of clojure somehow ? I guess there is no
internal class for timestamp in cascalog -
You received this message because you are subscribed to the Google Groups "cascalog-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
For more options, visit https://groups.google.com/d/optout.