code: Path getTargetLocation(FileSystem sourceFs, FileSystem targetFs, Path path, Optional<Partition> partition)
        throws IOException {
      return getTargetPathHelper().getTargetPath(path, targetFs, partition, false);
    }
docs: Compute the target location for a Hive location.
  @param sourceFs Source {@link FileSystem}.
  @param path source {@link Path} in Hive location.
  @param partition partition these paths correspond to.
  @return transformed location in the target.
  @throws IOException if cannot generate a single target location.