Grouping on nullable fields

6 views
Skip to first unread message

Juanjo Mostazo

unread,
Dec 18, 2013, 5:50:41 AM12/18/13
to pangoo...@googlegroups.com
Hi!

Would it be possible to allow grouping on nullable fields of Tuples?
It crashes when I try, so I have to "hack" it somehow (if the field type is String, setting an empty String, for example...).
I think it would be nice to have it to save some space, and this func might be useful for someone else ;)

Thanks!

Pere Ferrera

unread,
Dec 18, 2013, 10:14:16 AM12/18/13
to pangoo...@googlegroups.com
As I remember it, this should be doable. There's even a unit test in Pangool that does this: grouping by a nullable field in one of the sources. But maybe there are some non covered cases or something we haven't seen.

Can you paste here your problem exactly and how can we reproduce it?
Message has been deleted

Juanjo Mostazo

unread,
Dec 22, 2013, 11:48:17 AM12/22/13
to pangoo...@googlegroups.com
Hi,

You are right, it was mistake on my side that I did not initialize the job properly. It works fine!

Thanks,
Reply all
Reply to author
Forward
0 new messages