commit | 2036996ced226690339765225767dcf8be7a7eb8 | [log] [tgz] |
---|---|---|
author | buyingyi <buyingyi@123451ca-8445-de46-9d55-352943316053> | Thu Feb 28 08:57:29 2013 +0000 |
committer | buyingyi <buyingyi@123451ca-8445-de46-9d55-352943316053> | Thu Feb 28 08:57:29 2013 +0000 |
tree | 79a0d17e56ed112761257cb8da56522b6b637d5a | |
parent | ab03447dc36382a5e3a89f4ff102ce0f0d89b9aa [diff] |
fix FieldHashPartitionComputerFamily git-svn-id: https://hyracks.googlecode.com/svn/branches/fullstack_job_rewriter@3003 123451ca-8445-de46-9d55-352943316053
diff --git a/hyracks/hyracks-dataflow-common/src/main/java/edu/uci/ics/hyracks/dataflow/common/data/partition/FieldHashPartitionComputerFamily.java b/hyracks/hyracks-dataflow-common/src/main/java/edu/uci/ics/hyracks/dataflow/common/data/partition/FieldHashPartitionComputerFamily.java index 51645c4..ec3c2be 100644 --- a/hyracks/hyracks-dataflow-common/src/main/java/edu/uci/ics/hyracks/dataflow/common/data/partition/FieldHashPartitionComputerFamily.java +++ b/hyracks/hyracks-dataflow-common/src/main/java/edu/uci/ics/hyracks/dataflow/common/data/partition/FieldHashPartitionComputerFamily.java
@@ -52,10 +52,10 @@ h += fh; } if (h < 0) { - h = -h; + h = -(h+1); } return h % nParts; } }; } -} \ No newline at end of file +}