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

Reply via email to