// verify the data
PartitionResult partitionResult = client.getPartitions(tableHandle, TupleDomain.all());
assertEquals(partitionResult.getPartitions().size(), 1);
SplitSource splitSource = client.getPartitionSplits(tableHandle, partitionResult.getPartitions());
Split split = getOnlyElement(splitSource.getNextBatch(1000));
assertTrue(splitSource.isFinished());
try (RecordCursor cursor = client.getRecordSet(split, columnHandles).cursor()) {
assertTrue(cursor.advanceNextPosition());
assertEquals(cursor.getLong(0), 1);