PColumn column = childSlot.getKeyPart().getColumn();
PDataType type = column.getDataType();
KeyRange keyRange = type.getKeyRange(key, true, ByteUtil.nextKey(key), false);
Integer columnFixedLength = column.getMaxLength();
if (columnFixedLength != null) {
keyRange = keyRange.fill(columnFixedLength);
}
// Only extract LIKE expression if pattern ends with a wildcard and everything else was extracted
return newKeyParts(childSlot, node.endsWithOnlyWildcard() ? node : null, keyRange);
}