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

ASF subversion and git services commented on IMPALA-9979:
---------------------------------------------------------

Commit 79b1d5c1435458684002fe5afd56445179636d12 in impala's branch 
refs/heads/branch-4.0.0 from Aman Sinha
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=79b1d5c ]

IMPALA-10755: Fix migration of analytic predicate to inline view.

As part of IMPALA-9979 we made changes to push down predicates
that reference analytic tuple into the inline view. In cases where
both sides of a predicate are slot references (for example,
a = MAX(b) where MAX(b) is an analytic function), it may not be
safe to push it into the inline view since the two sides may be
referencing separate tuples.

This patch fixes the behavior by skipping such predicates such
that they will be left unassigned and will subsequently get
assigned to a SELECT node above the analytic operator.

Testing:
 - Added planner tests for analytic predicates ensuring that
   analytic predicates are present in the SELECT node.
 - Added run time tests for the same using TPC-H and
   verified correctness.

Change-Id: Ib5cad3d408ee3695cafb35f66a4f19b4e8d0529e
Reviewed-on: http://gerrit.cloudera.org:8080/17615
Reviewed-by: Aman Sinha <[email protected]>
Tested-by: Aman Sinha <[email protected]>


> Backend partitioned top-n operator
> ----------------------------------
>
>                 Key: IMPALA-9979
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9979
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Backend
>            Reporter: Tim Armstrong
>            Assignee: Tim Armstrong
>            Priority: Major
>             Fix For: Impala 4.0
>
>
> This is to implement the backend support for the partitioned top-n operator.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to