use of org.apache.drill.exec.exception.SchemaChangeException in project drill by apache.
the class TestOutputMutator method removeField.
public void removeField(MaterializedField field) throws SchemaChangeException {
ValueVector vector = fieldVectorMap.remove(field);
if (vector == null) {
throw new SchemaChangeException("Failure attempting to remove an unknown field.");
}
container.remove(vector);
vector.close();
}
Aggregations