[
https://issues.apache.org/jira/browse/FLINK-3939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15293029#comment-15293029
]
ASF GitHub Bot commented on FLINK-3939:
---------------------------------------
GitHub user fhueske opened a pull request:
https://github.com/apache/flink/pull/2014
[FLINK-3939] [tableAPI] Prevent translation of unsupported distinct
aggregates and grouping sets.
PR fixes `DataSetAggregateRule` to not translate `LogicalAggregate`
operators that include distinct aggregates or grouping sets. Such aggregations
are currently not supported by `DataSetAggregate`.
- [X] General
- The pull request references the related JIRA issue ("[FLINK-XXX] Jira
title text")
- The pull request addresses only one issue
- Each commit in the PR has a meaningful commit message (including the
JIRA id)
- [X] Documentation
- Bug fix does not require docs
- [X] Tests & Build
- Functionality added by the pull request is covered by tests
- `mvn clean verify` has been executed successfully locally or a Travis
build has passed
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/fhueske/flink tableDistAggs
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2014.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2014
----
commit ed9d68dece81346978564bf4185e97f7a2cf6e74
Author: Fabian Hueske <[email protected]>
Date: 2016-05-19T22:14:00Z
[FLINK-3939] [tableAPI] Prevent translation of unsupported distinct
aggregates and grouping sets.
----
> Prevent distinct aggregates and grouping sets from being translated
> -------------------------------------------------------------------
>
> Key: FLINK-3939
> URL: https://issues.apache.org/jira/browse/FLINK-3939
> Project: Flink
> Issue Type: Bug
> Components: Table API
> Reporter: Fabian Hueske
> Assignee: Fabian Hueske
> Fix For: 1.1.0
>
>
> Flink's SQL interface is currently not capable of executing distinct
> aggregates and grouping sets.
> We need to prevent that queries with these operations are translated by
> adapting the DataSetAggregateRule.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)