[
https://issues.apache.org/jira/browse/ASTERIXDB-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16269494#comment-16269494
]
ASF subversion and git services commented on ASTERIXDB-2174:
------------------------------------------------------------
Commit dc7e68a0212fd74147c8a77d1cf83a69a186ff57 in asterixdb's branch
refs/heads/master from [~dlychagin-cb]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=dc7e68a ]
[ASTERIXDB-2174][COMP] Improve partitioning propagation in GroupBy
- user model changes: no
- storage format changes: no
- interface changes: no
Details:
- Improve partitioning property computation in
AbstractPreclusteredGroupByPOperator
If "gby v1 as v2" and input partitioned on (v1)
then output is partitioned on (v2)
Change-Id: Ib679278d6ee6c53b1d9f581438e8bd04c56c2b08
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2176
Sonar-Qube: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Contrib: Jenkins <[email protected]>
Integration-Tests: Jenkins <[email protected]>
Reviewed-by: abdullah alamoudi <[email protected]>
> Improve partitioning property propagation in
> AbstractPreclusteredGroupByPOperator
> ---------------------------------------------------------------------------------
>
> Key: ASTERIXDB-2174
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2174
> Project: Apache AsterixDB
> Issue Type: Improvement
> Components: COMP - Compiler
> Reporter: Dmitry Lychagin
> Assignee: Dmitry Lychagin
> Priority: Minor
>
> Currently AbstractPreclusteredGroupByPOperator propagates its input
> partitioning property as is. For example if "gby var1 as var2" and input is
> partitioned on "var1" the output partitioning would also be reported on
> "var1". The problem is that "var1" is not visible after the group by. The
> variable in the output partitioning property should be changed from "var1" to
> "var2" because both these variables are bound to the same value and "var2" is
> visible after the group by.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)