code: public static String getStagingDataPartitionDirName(HiveProcessingEntity conversionEntity,
        List<String> sourceDataPathIdentifier) {
  
      if (conversionEntity.getPartition().isPresent()) {
        StringBuilder dirNamePrefix = new StringBuilder();
        String sourceHivePartitionLocation = conversionEntity.getPartition().get().getDataLocation().toString();
        if (null != sourceDataPathIdentifier && null != sourceHivePartitionLocation) {
          for (String hint : sourceDataPathIdentifier) {
            if (sourceHivePartitionLocation.toLowerCase().contains(hint.toLowerCase())) {
              dirNamePrefix.append(hint.toLowerCase()).append("_");
            }
          }
        }
  
        return dirNamePrefix + conversionEntity.getPartition().get().getName();
      } else {
        return StringUtils.EMPTY;
      }
    }
docs: *
  Get the partition directory name of the format: [hourly_][daily_]<partitionSpec1>[partitionSpec ..]
  @param conversionEntity Conversion entity.
  @param sourceDataPathIdentifier Hints to look in source partition location to prefix the partition dir name
  such as hourly or daily.
  @return Partition directory name.