FAQ
Hi,

I am a Cascalog enthusiast and very new to it. I am working on a project
and am struck with a query where I would like to use logical "and".
But when I use and as

(?<- (stdout) [?u ?s](data1 ?u ?s _)(data2 ?s ?s2)(and (not= ?s ?s2) (< ?u
4)))

I get the error

Can't take the value of a macro #'clojure.core/and

I then defined a function for "and"

(defn and_op [a b] (and a b))

and used that but then I got the error ?s is not defined

I would sincerely appreciate any help in this regard.

Thanks,
Kunal

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 7 | next ›
Discussion Overview
groupcascalog-user @
categoriesclojure, hadoop
postedJun 26, '12 at 3:10a
activeSep 23, '13 at 8:43p
posts7
users7
websiteclojure.org
irc#clojure

People

Translate

site design / logo © 2022 Grokbase