hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <>
Subject [jira] [Commented] (HIVE-16797) Enhance HiveFilterSetOpTransposeRule to remove union branches
Date Sat, 03 Jun 2017 20:12:04 GMT


Ashutosh Chauhan commented on HIVE-16797:

[~pxiong] Can you rebase now that HIVE-16775 is in? You may have to update golden files for
new tests there and a failure reported here on QA run. Can you also create a RB for it?

> Enhance HiveFilterSetOpTransposeRule to remove union branches
> -------------------------------------------------------------
>                 Key: HIVE-16797
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Pengcheng Xiong
>            Assignee: Pengcheng Xiong
>         Attachments: HIVE-16797.01.patch
> in query4.q, we can see that it creates a CTE with union all of 3 branches. Then it is
going to do a 3 way self-join of the CTE with predicates. The predicates actually specifies
only one of the branch in CTE to participate in the join. Thus, in some cases, e.g.,
> {code}
>                /- filter(false) -----TS0 
> union all  - filter(false) -----TS1
>                \-----TS2
> {code}
> we can cut the branches of TS0 and TS1. The union becomes only TS2.

This message was sent by Atlassian JIRA

View raw message