I'm new to clojure. I've return an utility function to filter a sequence of
map by some key but it's not working. Here is the sample code -
(def data [{:id 1 :b 2}
{:id 3 :b 4}
{:id 5 :b 6}
{:id 7 :b 8}])
In real app this is a sequence of maps read
Hi,
could anybody please help me to figure out following error with
group-by-key fn?
(defn sorted-tuple [p f]
(if (< (.compareTo p f) 0)
(spark/tuple p f)
(spark/tuple f p)))
(defn tuples-list [[p & frens]]
(map #(spark/tuple (sorted-tuple p %) frens) frens))
(->> (spark/paralleliz
Oh yes. Thanks Dmitriy.
On Monday, May 18, 2015 at 4:13:09 AM UTC-5, Dmitriy Morozov wrote:
>
>
> Hi Tilak!
>
> You are trying to call groupByKey on instance of JavaRDD which doesn't
> have this method. You need JavaPairRDD which you can create with
> spark/map-to-pair.
>
> Good luck!
>
> On Wed
+1, @James, i'm in.
On Wednesday, October 30, 2013 4:32:18 AM UTC+5:45, Russell Whitaker wrote:
>
> I, for one, would happily pay (my employer's) money for such a thing.
>
> R
>
> On Tue, Oct 29, 2013 at 3:39 PM, James Reeves
> >
> wrote:
> > I'm considering putting together a screencast, or
+1
On Sunday, November 10, 2013 3:13:17 AM UTC+5:45, Marco Manzi wrote:
>
> Hi all, I'm a young clojure developer. I work as Java developer, but I've
> falled in love with this fantastic language and I would like to help in
> some way.
> Actually I'm following Principles of Reactive
> Programmi