valuesBlock = new UncompressedBlock(0, SINGLE_DOUBLE, EMPTY_SLICE);
percentilesBlock = new UncompressedBlock(0, SINGLE_DOUBLE, EMPTY_SLICE);
}
else {
valuesBlock = createDoublesBlock(values);
percentilesBlock = new RunLengthEncodedBlock(createTuple(percentile), values.length);
}
return new Page(valuesBlock, percentilesBlock);
}