You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Ben Becker (JIRA)" <ji...@apache.org> on 2013/08/16 19:40:48 UTC

[jira] [Created] (DRILL-174) Physical plans for hash-partition-sender operator may not be evenly distributed

Ben Becker created DRILL-174:
--------------------------------

             Summary: Physical plans for hash-partition-sender operator may not be evenly distributed
                 Key: DRILL-174
                 URL: https://issues.apache.org/jira/browse/DRILL-174
             Project: Apache Drill
          Issue Type: Bug
         Environment: TestHashToRandomExchange.java
            Reporter: Ben Becker


The physical plan in {{test/resources/sender/hash_exchange.json}} is transformed into a hash-partition-sender op with only one host, while it should have two when run from TestHashToRandomExchange.java.

{noformat}
Attempting to read {
  pop : "hash-partition-sender",
  @id : 1,
  receiver-major-fragment : 1,
  child : {
    pop : "mock-sub-scan",
    @id : 2,
    url : "http://apache.org",
    entries : [ {
      records : 100,
      types : [ {
        name : "blue",
        type : "INT",
        mode : "REQUIRED"
      }, {
        name : "red",
        type : "BIGINT",
        mode : "REQUIRED"
      }, {
        name : "green",
        type : "INT",
        mode : "REQUIRED"
      } ]
    } ]
  },
  expr : "hash(red) ",
  destinations : [ "Cg4xOTIuMTY4LjE2OC45NhCk8gEYpfIB" ]
}
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira