The best way to get answers for such easy questions
1. read docs
2. create sample script and run
doc says that a group (bag of tuple having the same 'stars' value) would be
passed to your UDF.
Can't understand what confuses you. These things are really basics.
2014-07-23 16:30 GMT+04:00 Ashish Dobhal <[EMAIL PROTECTED]>: