mirror of https://github.com/apache/druid.git
Fix OrderByColumnSpec cacheKey.
This commit is contained in:
parent
e980904470
commit
889c85c64f
|
@ -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