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

Crowd Context #73

Open
sjyk opened this issue Aug 26, 2015 · 2 comments
Open

Crowd Context #73

sjyk opened this issue Aug 26, 2015 · 2 comments
Assignees

Comments

@sjyk
Copy link
Owner

sjyk commented Aug 26, 2015

Include other cols in the task.

@sjyk sjyk self-assigned this Aug 27, 2015
@sjyk
Copy link
Owner Author

sjyk commented Aug 27, 2015

This is actually hard to do, since the current code applies a distinct count first and then runs attrdedup

@thisisdhaas
Copy link
Collaborator

Hm. Could we rewrite the initial count distinct query as a group by?

e.g. SELECT name, first(col1), first(col2), ... FROM t GROUP BY name

This requires spark SQL to have a first aggregate, or some other way of getting a value out of the group.

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

No branches or pull requests

2 participants