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

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

Commit 7b773063d42c17c8fbb1b7f4673df3d5202244c7 in impala's branch 
refs/heads/master from Riza Suminto
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=7b773063d ]

IMPALA-12784: Fix bug in ScanNode.getFilteredInputCardinality

IMPALA-12018 adds method ScanNode.getFilteredInputCardinality(), which
is intended to return filteredInputCardinality_ if it set, but
mistakenly return filteredCardinality_ instead.
filteredInputCardinality_ is only affected by partition runtime filter
or runtime filter pushed to Kudu. On the other hand,
filteredCardinality_ is affected by all runtime filter consumed by a
ScanNode. This patch fixes the bug.

This patch also adds TRACE log at the end of
ScanNode.reduceCardinalityByRuntimeFilter()

Testing:
- Pass FE tests.

Change-Id: Iae41f0fe5907cfed6ac67c156e975cf9964a7559
Reviewed-on: http://gerrit.cloudera.org:8080/20993
Reviewed-by: Riza Suminto <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Consider runtime filters in resource estimates
> ----------------------------------------------
>
>                 Key: IMPALA-12018
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12018
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Frontend
>            Reporter: Csaba Ringhofer
>            Assignee: Riza Suminto
>            Priority: Major
>             Fix For: Impala 4.4.0
>
>
> Currently Impala creates a plan first and looks for runtime filters bases on 
> the complete plan.
> IMPALA-3573 is about considering runtime filters during join ordering which 
> would be a major change. Meanwhile it could be also useful to consider 
> selective looking runtime filters in resource estimates without changing the 
> plan topology.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to