-
Notifications
You must be signed in to change notification settings - Fork 13.8k
[FLINK-2115] [Table API] support no aggregation after groupBy. #1377
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
Conversation
|
What it does now is to only pick one element in the group that has the compound key of the Should we maybe limit this to only allow selecting fields that are also key fields? |
|
@aljoscha , it's a very interesting topic, should we add a limitation that only allow groupBy key fields to be no aggregated function field in |
461f60c to
508868c
Compare
|
OK, I see your point. We can go with the MySQL way then. Thanks for explaining it. 😄 Could you please update the documentation with a small paragraph that explains the behavior? |
|
Ok, i think it could be added in the |
|
@Li Chengxiang, you can always pull changes directly from the ASF git On Thu, Nov 19, 2015 at 10:51 AM, Li Chengxiang notifications@github.com
|
55d5df6 to
bfd1b10
Compare
|
Hi, @aljoscha , i guess you may forget this PR 😄 , could you help to move this forward? it should be ready yet. |
|
Hi, you are are absolutely right, I'm sorry. Please don't hesitate to ping me in the future if I'm taking to long but I'll also try to be more responsive on these. I'm merging it now. 😄 |
|
Thanks for your efforts. 😄 Could you please close this PR? |
JavaBatchTranslatordoes not support no aggregationselectaftergroupBypreviously, add the logic in this PR.