public static Type fromJavaSQLType(int javaSQLType) {
    for (Type each : Type.values()) {
      if (each.javaSQLType == javaSQLType) {
        return each;
      }
    }
    return null;
  }
Maximum precision for numeric types.
Returns null for non-numeric types.
@return
serde/src/java/org/apache/hadoop/hive/serde2/thrift/Type.java