private boolean inspectPartitionValues() {
    return Optional.ofNullable(conf).map(FileSinkDesc::getTableInfo)
        .map(TableDesc::getProperties)
        .map(props -> props.getProperty(hive_metastoreConstants.META_TABLE_STORAGE))
        .map(handler -> {
          try {
            return HiveUtils.getStorageHandler(hconf, handler);
          } catch (HiveException e) {
            return null;
          }
        })
        .map(HiveStorageHandler::supportsPartitioning)
        .orElse(Boolean.FALSE);
  }
Whether partition values are stored in the data files too (as opposed to just being represented in the partition
folder name), along with non-partition column values. Therefore if true, the object inspector should not
disregard/remove the partition columns.

@return whether partition values should be part of the object inspector too
ql/src/java/org/apache/hadoop/hive/ql/exec/FileSinkOperator.java