mirror of https://github.com/apache/druid.git
Merge pull request #663 from metamx/fix-obcs-cache-key
Fix OrderByColumnSpec cacheKey.
This commit is contained in:
commit
0bd871e4f5
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue