public static String getTypeName(String typeString) {
    if (typeString == null) return null;
    String protoType = typeString.toLowerCase().split("\\W")[0];
    if (decoratedTypeNames.contains(protoType)) {
      return protoType;
    }
    String realType = alternateTypeNames.get(protoType);
    return realType == null ? protoType : realType;
  }
Given a type string return the type name.  For example, passing in the type string
<pre>varchar(256)</pre> will return <pre>varchar</pre>.
@param typeString Type string
@return type name, guaranteed to be in lower case
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/ColumnType.java