You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Namit Jain (JIRA)" <ji...@apache.org> on 2010/01/25 19:33:34 UTC

[jira] Commented: (HIVE-1094) Disable streaming last table if there is a skew key in previous tables.

    [ https://issues.apache.org/jira/browse/HIVE-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804637#action_12804637 ] 

Namit Jain commented on HIVE-1094:
----------------------------------

I am not sure this is a good idea - for the last table, unless you stop streaming, you never know the size

> Disable streaming last table if there is a skew key in previous tables.
> -----------------------------------------------------------------------
>
>                 Key: HIVE-1094
>                 URL: https://issues.apache.org/jira/browse/HIVE-1094
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: He Yongqiang
>
> In JoinOperator's processOp()
> {code} 
> if(alias == numAliases -1){
> if (sz == joinEmitInterval) {
> {code} 
> should be changed to
> {code} 
> if(alias == numAliases - 1 && !(handleSkewJoin && skewJoinKeyContext.currBigKeyTag >= 0)
> {code} 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.