private static void assertDictionaryEncodedBlock(Slice[] dictionary, Integer[] ids)
{
VariableWidthBlockBuilder dictionaryBlockBuilder = new VariableWidthBlockBuilder(new BlockBuilderStatus());
for (Slice expectedValue : dictionary) {
dictionaryBlockBuilder.writeBytes(expectedValue, 0, expectedValue.length()).closeEntry();
}
Block dictionaryBlock = dictionaryBlockBuilder.build();
Slice[] expectedValues = new Slice[ids.length];
BlockBuilder idsBlockBuilder = BIGINT.createBlockBuilder(new BlockBuilderStatus());