[
https://issues.apache.org/jira/browse/IMPALA-13716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17930773#comment-17930773
]
ASF subversion and git services commented on IMPALA-13716:
----------------------------------------------------------
Commit 796c25fc57e5bd37dadd7f79fb79044e56d18c36 in impala's branch
refs/heads/master from Steve Carlin
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=796c25fc5 ]
IMPALA-13716: Calcite Planner: TupleIsNullPredicate fix for analytic functions
There is some special logic to materialize the TupleIsNullPredicate
functions that are created by join nodes for outer joins for analytic
functions. This commit refactors some of the code in the current Impala
planner and materializes them with the Analytic RelNode.
An example query from the test framework that causes this issue is:
select avg(g) over (order by f) af3
from alltypestiny t1
left outer join
(select
id as a, coalesce(bigint_col, 30) as f,
bigint_col as g
from alltypestiny) t2
on (t1.id = t2.a);
Change-Id: Iaec363c2fa93a1e21bf74a40e5399e21ddd9bd60
Reviewed-on: http://gerrit.cloudera.org:8080/22411
Reviewed-by: Aman Sinha <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> Calcite Planner: Queries with TupleIsNullPredicate failing for analytic
> functions
> ---------------------------------------------------------------------------------
>
> Key: IMPALA-13716
> URL: https://issues.apache.org/jira/browse/IMPALA-13716
> Project: IMPALA
> Issue Type: Sub-task
> Reporter: Steve Carlin
> Priority: Major
>
> There is some logic materializing the TupleIsNullPredicate (created for outer
> joins) special for analytic functions that needs to be implemented for the
> Calcite Planner.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]