[ 
https://issues.apache.org/jira/browse/ASTERIXDB-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16625899#comment-16625899
 ] 

ASF subversion and git services commented on ASTERIXDB-2174:
------------------------------------------------------------

Commit 5e24a1bfd115378eb0d705519d30b0028127e8c0 in asterixdb's branch 
refs/heads/master from luochen01
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=5e24a1b ]

[ASTERIXDB-2174] Fix partitioning improvement of group by

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Fix the improvement of partitioning propagation of group by
introduced by https://asterix-gerrit.ics.uci.edu/#/c/2176/.
- The problem is that we cannot modify the partitioning property of the
input operator directly, since that property is owned by the input.
Otherwise, the property of the child operator would be modified even
before the group by operator, and this caused some tests regarding
common sub operator extration to fail (introducing REPLICATE).

Change-Id: I81a74ab1242772c790175414281e3f200537b386
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2966
Sonar-Qube: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Integration-Tests: Jenkins <[email protected]>
Reviewed-by: Dmitry Lychagin <[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
(v7.6.3#76005)

Reply via email to