You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2017/08/11 01:35:00 UTC

[jira] [Created] (IMPALA-5789) Prune all partitions if an always-false runtime filter is received

Tim Armstrong created IMPALA-5789:
-------------------------------------

             Summary: Prune all partitions if an always-false runtime filter is received
                 Key: IMPALA-5789
                 URL: https://issues.apache.org/jira/browse/IMPALA-5789
             Project: IMPALA
          Issue Type: Improvement
          Components: Backend
            Reporter: Tim Armstrong


The scenario is as follows:
* A query joins a large partitioned table with another table on a non-partition column.
* All of the rows on the build side are filtered out, so the join has an empty build.

Currently what happens is that all partitions of the large table are scanned and the runtime filter filters all the rows out after materialization.

What would ideally happen is that the scan would notice that the runtime filter always returns false and prune all of the partitions.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)