Merge pull request #663 from metamx/fix-obcs-cache-key

Fix OrderByColumnSpec cacheKey.
This commit is contained in:
fjy 2014-08-07 10:41:37 -06:00
commit 0bd871e4f5
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ public class OrderByColumnSpec
final byte[] dimensionBytes = dimension.getBytes();
final byte[] directionBytes = direction.name().getBytes();
return ByteBuffer.allocate(dimensionBytes.length + dimensionBytes.length)
return ByteBuffer.allocate(dimensionBytes.length + directionBytes.length)
.put(dimensionBytes)
.put(directionBytes)
.array();