public static List<FieldSchema> createSchema(@Nullable List<String> params) {
    if (params == null || params.isEmpty()) {
      return Collections.emptyList();
    }

    return params.stream()
            .map(Util::param2Schema)
            .collect(Collectors.toList());
  }
Create table schema from parameters.

@param params list of parameters. Each parameter can be either a simple name or
              name:type for non-String types.
@return table schema description
standalone-metastore/metastore-tools/tools-common/src/main/java/org/apache/hadoop/hive/metastore/tools/Util.java