public static ArrayList<TypeDescription>
      typeDescriptionsFromHiveTypeProperty(String hiveTypeProperty,
                                           int maxColumns) {

    // CONSDIER: We need a type name parser for TypeDescription.

    ArrayList<TypeInfo> typeInfoList = TypeInfoUtils.getTypeInfosFromTypeString(hiveTypeProperty);
    ArrayList<TypeDescription> typeDescrList =new ArrayList<TypeDescription>(typeInfoList.size());
    for (TypeInfo typeInfo : typeInfoList) {
      typeDescrList.add(convertTypeInfo(typeInfo));
      if (typeDescrList.size() >= maxColumns) {
        break;
      }
    }
    return typeDescrList;
  }
Convert a Hive type property string that contains separated type names into a list of
TypeDescription objects.
@param hiveTypeProperty the desired types from hive
@param maxColumns the maximum number of desired columns
@return the list of TypeDescription objects.
ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcInputFormat.java