public FieldSchema getPartColByName(String colName) {
    return getPartCols().stream()
      .filter(key -> key.getName().toLowerCase().equals(colName))
      .findFirst().orElse(null);
  }
Marker SemanticException, so that processing that allows for table validation failures
and appropriately handles them can recover from these types of SemanticExceptions
ql/src/java/org/apache/hadoop/hive/ql/metadata/Table.java