public List<String> getPartColNames() {
    List<FieldSchema> partCols = hasNonNativePartitionSupport() ?
        getStorageHandler().getPartitionKeys(this) : getPartCols();
    return partCols.stream().map(FieldSchema::getName)
      .collect(Collectors.toList());
  }
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