@Override
    public DataType getFieldType(String fieldName, Expression expression) {
        return requireFieldType(expression, fieldName);
    }
Returns information about the types of fields from a document type.

@author bratseth
indexinglanguage/src/main/java/com/yahoo/vespa/indexinglanguage/DocumentFieldTypes.java