drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From laurentgo <...@git.apache.org>
Subject [GitHub] drill pull request: DRILL-4446: Support mandatory work assignment ...
Date Thu, 03 Mar 2016 02:45:14 GMT
Github user laurentgo commented on a diff in the pull request:

    https://github.com/apache/drill/pull/403#discussion_r54829518
  
    --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/Stats.java
---
    @@ -43,6 +43,12 @@ public void addMinWidth(int minWidth) {
         collector.addMinWidth(minWidth);
       }
     
    +  public void setDistributionAffinity(final DistributionAffinity distributionAffinity)
{
    +    if (this.distributionAffinity.isLessOrEqualRestrictive(distributionAffinity)) {
    --- End diff --
    
    I guess if the affinity was lesser (not equals) only, it would work too (equals means
that's the same policy, so the assignment is a no-op)


---
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