Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add getGroupKey() method to group-at-time operators #553

Open
fhueske opened this issue Mar 10, 2014 · 2 comments
Open

Add getGroupKey() method to group-at-time operators #553

fhueske opened this issue Mar 10, 2014 · 2 comments

Comments

@fhueske
Copy link
Contributor

fhueske commented Mar 10, 2014

Group-at-a-time operators (Reduce & CoGroup) work on multiple records in one UDF call. Often these UDFs need to access the key that is common to all records of a group.

We could add a function to set a the key of a group before the UDF is called (setGroupKey()) and a function to get the key (getGroupKey()) that can be called from the UDF.

What do you think about this?

@aalexandrov
Copy link
Contributor

excellent

idea. Should I take a look?

@fhueske
Copy link
Contributor Author

fhueske commented Mar 10, 2014

😄 Please do so!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants