hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhongdeyin <...@git.apache.org>
Subject [GitHub] hive pull request #85: [HIVE-14160]Optimized group by within distinct data s...
Date Fri, 08 Jul 2016 08:03:19 GMT
GitHub user zhongdeyin opened a pull request:

    https://github.com/apache/hive/pull/85

    [HIVE-14160]Optimized group by within distinct data skew proplem

    Jira issue: https://issues.apache.org/jira/browse/HIVE-14160
    
    Modify GroupByOperator.endGroup() method, while keysCurrentGroup.size() is greater than
a threshold(hive.distinct.setsize.max), will new a HashSet instead of clear set. Option hive.distinct.newset.max
is the Maximum for getting new hashset, beyond this threshold,will still execute hashset.clear().
This will ensure task stability. User can set these two client parameters themselves.
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zhongdeyin/hive branch-1.1

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/hive/pull/85.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #85
    
----
commit 390fb2e30d5043cd262ad73d3c1678a268c591e3
Author: zhongdeyin <zhongdg1@lenovo.com>
Date:   2016-07-08T07:38:14Z

    Optimized group by within distinct data skew proplem

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message