Is it possible to write custom udf for group by clause in Pig

15 views
Skip to first unread message

Sanjay Bhosale

unread,
Feb 19, 2014, 4:05:41 AM2/19/14
to chenn...@googlegroups.com
I need to write a custom udf which will do grouping based percentage match.
Is it possible to write such custom udf?
What are the other solutions?

Vallinayagam

unread,
Feb 19, 2014, 4:53:10 AM2/19/14
to chenn...@googlegroups.com
Hello,

IMHO you can do a filter which matches % before doing a group, despite going for a custom UDF,


--
You received this message because you are subscribed to the Google Groups "Hadoop Users Group (HUG) Chennai" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chennaihug+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Many Thanks,
S.Vallinayagam

Sanjay Bhosale

unread,
Feb 19, 2014, 5:33:07 AM2/19/14
to chenn...@googlegroups.com
I want to compare the two records which are ssdeep and then according to percentage in match i need to group.
So i need customized udf.
Reply all
Reply to author
Forward
0 new messages