private static void fixDecimalColumnTypeName(List<FieldSchema> cols) {
    for (FieldSchema col : cols) {
      if (serdeConstants.DECIMAL_TYPE_NAME.equals(col.getType())) {
        col.setType(DecimalTypeInfo.getQualifiedName(HiveDecimal.USER_DEFAULT_PRECISION,
            HiveDecimal.USER_DEFAULT_SCALE));
      }
    }
  }
Fix the type name of a column of type decimal w/o precision/scale specified. This makes
the describe table show "decimal(10,0)" instead of "decimal" even if the type stored
in metastore is "decimal", which is possible with previous hive.

@param cols columns that to be fixed as such
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/info/desc/DescTableOperation.java