eTuple.put(4, DatumFactory.createInt8(10000));
eTuple.put(5, DatumFactory.createFloat4(150));
eTuple.put(6, DatumFactory.createFloat8(170));
RangePartitionAlgorithm partitioner = new UniformRangePartition(schema, new TupleRange(schema, sTuple, eTuple));
TupleRange [] ranges = partitioner.partition(5);
assertTrue(5 <= ranges.length);
TupleComparator comp = new TupleComparator(schema, PlannerUtil.schemaToSortSpecs(schema));
TupleRange prev = ranges[0];
for (int i = 1; i < ranges.length; i++) {
assertTrue(comp.compare(prev.getStart(), ranges[i].getStart()) < 0);