}
storageManager.commit(fileHandles);
assertTrue(storageManager.shardExists(shardUuid));
RaptorPageSource raptorPageSource = new RaptorPageSource(ImmutableList.of(
storageManager.getBlocks(shardUuid, columnHandles.get(0)),
storageManager.getBlocks(shardUuid, columnHandles.get(1))));
List<Page> actualPages = new ArrayList<>();
while (!raptorPageSource.isFinished()) {
Page page = raptorPageSource.getNextPage();
if (page != null) {
actualPages.add(page);
}
}
MaterializedResult actual = toMaterializedResult(session, types, actualPages);