public synchronized Schema addColumn(String name, DataType dataType) {
String normalized = name.toLowerCase();
if(fieldsByQialifiedName.containsKey(normalized)) {
LOG.error("Already exists column " + normalized);
throw new AlreadyExistsFieldException(normalized);
}
Column newCol = new Column(normalized, dataType);
fields.add(newCol);
fieldsByQialifiedName.put(newCol.getQualifiedName(), fields.size() - 1);