public StructType add(String name, String dataType, Metadata metadata) {
        return add(name, DataType.fromName(dataType), metadata);
    }
Returns all field names in an array.
indexr-query-opt/src/main/java/org/apache/spark/sql/types/StructType.java