Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-174

Physical plans for hash-partition-sender operator may not be evenly distributed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • None
    • None
    • TestHashToRandomExchange.java

    Description

      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.

      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" ]
      }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            benjamin.becker Ben Becker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: