Sorry, scratch that question, clearly it doesn't, because I'm using it
in 0.8.1 and it's not setting two-level access. Oh well.
On 1 November 2011 11:03, Andrew Clegg wrote:
> Would it be fair to assume that SchemaUtil.newBagSchema(...) etc. will
> do the right thing for whi
better make your UDF work
>> even if twoLevelAccess is dropped.
>>
>> Daniel
>>
>> On Mon, Oct 31, 2011 at 2:48 PM, Andrew Clegg >> wrote:
>>
>>> Thanks chaps. Just to clarify something though -- Daniel's answer
>>> suggests twoLevelAccess is
ai wrote:
>> Always set twoLevelAccess to true in 0.8. From 0.9, don't worry about it
>> any more.
>>
>> Daniel
>>
>> On Mon, Oct 31, 2011 at 12:20 PM, Andrew Clegg <
>> andrew.clegg+mah...@gmail.com> wrote:
>>
>>> Hi,
>>
> page_info,
>> > flatten((bag{tuple(map[])})page_links) as page_links;
>> > C = foreach B generate user,
>> > (action == 1 ? page_info#'a' : page_links#'b') as header;
>> > D = group C by user parallel 40;
>> > E = foreach D generate group, COUNT(C) as cnt;
>> > store E into 'L1out';
>> >
>> > Best,
>> > Hui
>> >
>>
>
--
http://tinyurl.com/andrew-clegg-linkedin | http://twitter.com/andrew_clegg
4 October 2011 00:14, Raghu Angadi wrote:
> Utils.getSchemaFromString() seems like exactly what you want (
> from org_apache_pig_impl_util ).
>
> Raghu.
>
> [btw. my two previous attempts to send to the list got rejected as spam ]
>
> On Mon, Oct 3, 2011 at 3:41 PM, And
Angadi wrote:
> my understanding is that Pig 0.8 expects the first form and Pig 0.9 requires
> the second.
>
> Raghu.
>
> On Mon, Oct 3, 2011 at 8:27 AM, Andrew Clegg
> wrote:
>
>> Hi,
>>
>> When you have a UDF that returns a bag, and you're writin
ion?
>>
>> --
>>
>> Founder/CEO Spinn3r.com
>>
>> Location: *San Francisco, CA*
>> Skype: *burtonator*
>>
>> Skype-in: *(415) 871-0687*
>>
>
--
http://tinyurl.com/andrew-clegg-linkedin | http://twitter.com/andrew_clegg
pecting the first element to be the key tuple but instead got
the artistid!
Thanks again,
Andrew.
--
http://tinyurl.com/andrew-clegg-linkedin | http://twitter.com/andrew_clegg
wrote:
>
>> The syntax looks legal. Can you do an explain?
>>
>> Daniel
>>
>> On Thu, Jul 21, 2011 at 5:15 AM, Andrew Clegg <
>> andrew.clegg+mah...@gmail.com
>> > wrote:
>>
>> > Hi,
>> >
>> > I have some code t
: {key: (artistid: int,country:
int,week: chararray),timestamp: long,albumid: int,numtracks:
long,reach: int,title_len: long,score: long}}
It didn't affect the error, though.
Thanks for any suggestions,
Andrew.
--
http://tinyurl.com/andrew-clegg-linkedin | http://twitter.com/andrew_clegg
10 matches
Mail list logo