I think I got it :) I should use riak_object:get_value Thanks anyway, -- buriwoy
On Tue, Mar 27, 2012 at 4:38 PM, Buri Arslon <buri...@gmail.com> wrote: > Hi everyone! > > I was learning MapReduce in Riak and encountered some problems. > > The map function that received Value wasn't able to process it by > riakc_obj:get_value. I checked the value and found out that it was not > proper riakc object. > > riakc_obj:new() returns a tuple where first element is riakc_obj atom. But > the Value that the map function receives has 'r_object' atom. > > What am I doing wrong? Are there any other built-in functions to process > the value in a map function? > > Thanks! > > -- buriwoy >
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com