private static void assertColumnsMatchSchema(List<String> schema, Iterable<String> colNames) throws SemanticException {
    if (colNames != null) {
      // all columns in cluster and sort are valid columns
      for (String column : colNames) {
        if (schema.stream().noneMatch(column::equalsIgnoreCase)) {
          throw new SemanticException(ErrorMsg.INVALID_COLUMN.getMsg(" '" + column + "'"));
        }
      }
    }
  }
@param skewedColValues the skewedColValues to set
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/create/CreateTableDesc.java