You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Jason Dere (JIRA)" <ji...@apache.org> on 2015/08/11 00:34:45 UTC
[jira] [Updated] (HIVE-8518) Compile time skew join optimization
returns duplicated results
[ https://issues.apache.org/jira/browse/HIVE-8518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Dere updated HIVE-8518:
-----------------------------
Fix Version/s: 1.0.2
> Compile time skew join optimization returns duplicated results
> --------------------------------------------------------------
>
> Key: HIVE-8518
> URL: https://issues.apache.org/jira/browse/HIVE-8518
> Project: Hive
> Issue Type: Bug
> Components: Logical Optimizer
> Affects Versions: 0.14.0
> Reporter: Rui Li
> Assignee: Rui Li
> Fix For: 1.1.0, 1.0.2
>
> Attachments: HIVE-8518.1.patch
>
>
> Compile time skew join optimization clones the join operator tree and unions the results.
> The problem here is that we don't properly insert the predicate for the cloned join (relying on an assert statement).
> To reproduce the issue, run the simple query:
> {code}select * from tbl1 join tbl2 on tbl1.key=tbl2.key;{code}
> And suppose there's some skew in tbl1 (specify skew with CREATE or ALTER statement).
> Duplicated results will be returned if you set hive.optimize.skewjoin.compiletime=true.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)