Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-5789

Prune all partitions if an always-false runtime filter is received

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tianyiwang Tianyi Wang
            tarmstrong Tim Armstrong
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment