"%s is not contained in %s", uri, location);
Preconditions.checkArgument(descriptor.isPartitioned(),
"Dataset is not partitioned");
Schema schema = descriptor.getSchema();
PartitionStrategy strategy = descriptor.getPartitionStrategy();
RefinableView<E> view = dataset;
Iterator<String> parts = PATH_SPLITTER.split(relative.toString()).iterator();
for (FieldPartitioner fp : strategy.getFieldPartitioners()) {
if (!parts.hasNext()) {
break;
}
String value = Iterables.getLast(KV_SPLITTER.split(parts.next()));
Schema fieldSchema = SchemaUtil.fieldSchema(schema, strategy, fp.getName());