GroupBy(NONE,FIRST) when input is UNKNOWN

91 views
Skip to first unread message

jd

unread,
May 23, 2012, 1:52:14 PM5/23/12
to cascadi...@googlegroups.com

Should I be able to do this? I want to Bring everything onto one reducers (Group by Fields.NONE), and then sort by whatever is in the first field. (Fields.FIRST).
This works if the incoming fields are known, but fails if they are unknown.

cascading.tuple.TupleException: given tuple not same size as position array: 0, tuple: ['A', 'J', '8']


Ben Linsay

unread,
May 23, 2012, 9:24:37 PM5/23/12
to cascadi...@googlegroups.com
I'm in a similar situation actually - I want to merge and sum a couple of pipes to get down to a single row of output. Is the solution to just add a 'dummy' field?

Chris K Wensel

unread,
May 24, 2012, 2:59:25 PM5/24/12
to cascadi...@googlegroups.com
this kinda sounds like a bug, let me play around with it.

ckw

--
You received this message because you are subscribed to the Google Groups "cascading-user" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cascading-user/-/BiXc1qnRbDEJ.
To post to this group, send email to cascadi...@googlegroups.com.
To unsubscribe from this group, send email to cascading-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cascading-user?hl=en.


Chris K Wensel

unread,
May 24, 2012, 6:30:11 PM5/24/12
to cascadi...@googlegroups.com
working on a fix, testing now to see if I hit any regressions.. hopefully a wip will be out tonight..

ckw

Sam Ritchie

unread,
Jul 13, 2013, 4:59:35 PM7/13/13
to cascadi...@googlegroups.com
Hitting the same situation in Cascading 2.1, with a grouping on Fields.NONE.

Chris K Wensel

unread,
Jul 13, 2013, 5:40:55 PM7/13/13
to cascadi...@googlegroups.com
To unsubscribe from this group and stop receiving emails from it, send an email to cascading-use...@googlegroups.com.

To post to this group, send email to cascadi...@googlegroups.com.

Sam Ritchie

unread,
Jul 13, 2013, 6:00:46 PM7/13/13
to cascadi...@googlegroups.com
Cool, thanks!

July 13, 2013 2:40 PM

--
You received this message because you are subscribed to the Google Groups "cascading-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cascading-use...@googlegroups.com.
To post to this group, send email to cascadi...@googlegroups.com.
Visit this group at http://groups.google.com/group/cascading-user.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
July 13, 2013 1:59 PM
Hitting the same situation in Cascading 2.1, with a grouping on Fields.NONE.

On Thursday, May 24, 2012 3:30:11 PM UTC-7, Chris K Wensel wrote: --
You received this message because you are subscribed to the Google Groups "cascading-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cascading-use...@googlegroups.com.
To post to this group, send email to cascadi...@googlegroups.com.
Visit this group at http://groups.google.com/group/cascading-user.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
Sam Ritchie, Twitter Inc
703.662.1337
@sritchie

Reply all
Reply to author
Forward
0 new messages