public Integer getPrecision() {
    if (this.type == Type.DECIMAL_TYPE) {
      return typeQualifiers.getPrecision();
    }
    return this.type.getMaxPrecision();
  }
Maximum precision for numeric types.
Returns null for non-numeric types.
@return
service/src/java/org/apache/hive/service/cli/TypeDescriptor.java