You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Thomas Tauber-Marshall (JIRA)" <ji...@apache.org> on 2017/11/02 19:09:00 UTC

[jira] [Created] (IMPALA-6145) Assign runtime filter ids lazily

Thomas Tauber-Marshall created IMPALA-6145:
----------------------------------------------

             Summary: Assign runtime filter ids lazily
                 Key: IMPALA-6145
                 URL: https://issues.apache.org/jira/browse/IMPALA-6145
             Project: IMPALA
          Issue Type: Improvement
          Components: Frontend
    Affects Versions: Impala 2.11.0
            Reporter: Thomas Tauber-Marshall
            Priority: Minor


Currently, when generating runtime filters we iterate over the plan tree, create a filter for each equi join predicate of each hash join node, and assign them ascending ids.

Not all of the created filters always end up assigned to a target scan node, and those that aren't assigned are left out of the plan, resulting in gaps in the sequence of filter ids in the explain output, which could be confusing to users.

It would be better to assign filter ids only to filters that end up in the final plan, so that the max filter id in the plan is equal to the total number of filters in the plan.



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