hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vineet Garg (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-20265) PTF operator has an extra reducer in CBO
Date Mon, 08 Apr 2019 20:14:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-20265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vineet Garg updated HIVE-20265:
-------------------------------
    Affects Version/s: 4.0.0

> PTF operator has an extra reducer in CBO
> ----------------------------------------
>
>                 Key: HIVE-20265
>                 URL: https://issues.apache.org/jira/browse/HIVE-20265
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Planning
>    Affects Versions: 4.0.0
>            Reporter: Vineet Garg
>            Assignee: Vineet Garg
>            Priority: Major
>
> {code:sql}
> explain vectorization detail
> select p_mfgr, p_name, p_size, 
> min(p_retailprice),
> rank() over(distribute by p_mfgr sort by p_name)as r,
> dense_rank() over(distribute by p_mfgr sort by p_name) as dr,
> p_size, p_size - lag(p_size,1,p_size) over(distribute by p_mfgr sort by p_name) as deltaSz
> from part
> group by p_mfgr, p_name, p_size
> {code}
> Above query generates extra reducer with CBO on.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message