hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stamatis Zampetakis (Jira)" <>
Subject [jira] [Updated] (HIVE-23365) Put RS deduplication optimization under cost based decision
Date Tue, 26 May 2020 10:40:00 GMT


Stamatis Zampetakis updated HIVE-23365:
    Attachment: HIVE-23365.03.patch

> Put RS deduplication optimization under cost based decision
> -----------------------------------------------------------
>                 Key: HIVE-23365
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: Physical Optimizer
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Stamatis Zampetakis
>            Priority: Major
>         Attachments: HIVE-23365.01.patch, HIVE-23365.02.patch, HIVE-23365.03.patch
> Currently, RS deduplication is always executed whenever it is semantically correct. However,
it could be beneficial to leave both RS operators in the plan, e.g., if the NDV of the second
RS is very low. Thus, we would like this decision to be cost-based. We could use a simple
heuristic that would work fine for most of the cases without introducing regressions for existing
cases, e.g., if NDV for partition column is less than estimated parallelism in the second
RS, do not execute deduplication.

This message was sent by Atlassian Jira

View raw message