Browse Source

Merge pull request #6452 from jamienoss/issue12284-range-mistake-in-regress-hashjoin.ecl

HPCC-12284 Changed REAL index to index range in hashjoin regression test

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday 10 years ago
parent
commit
80814ac188
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ecl/regress/hashjoin.ecl

+ 1 - 1
ecl/regress/hashjoin.ecl

@@ -47,7 +47,7 @@ JoinRecord JoinTransform (namesRecord l, addressRecord r) :=
                 END;
 
 j := JOIN(DISTRIBUTE(namesTable, HASH(surname[1..8])),
-          DISTRIBUTE(addressTable, HASH(surname[1.8])),
+          DISTRIBUTE(addressTable, HASH(surname[1..8])),
           LEFT.surname[1..8] = RIGHT.surname[1..8] AND (LEFT.surname[12] != RIGHT.surname[13]),
           JoinTransform(LEFT,RIGHT));