Skip to content

Commit fee7c52

Browse files
author
Ahmed Eldawy
committed
Fixed a bug with Repartition
1 parent 39dbccb commit fee7c52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/operations/edu/umn/cs/spatialHadoop/operations/Repartition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public void map(
9090
shape.toText(shapeText);
9191
for (int cellIndex = 0; cellIndex < cellInfos.length; cellIndex++) {
9292
if (cellInfos[cellIndex].isIntersected(shape)) {
93-
cellId.set((byte)cellInfos[cellIndex].cellId);
93+
cellId.set((int) cellInfos[cellIndex].cellId);
9494
output.collect(cellId, shapeText);
9595
}
9696
}

0 commit comments

Comments
 (0)