private Path getInProgressPath(HiveWriterFactory writerFactory) throws IOException, ClassNotFoundException {
        String location = writerFactory.getStorageDescriptor().getLocation();
        String path = targetPath.toUri().getPath();
        path = path.substring(path.indexOf("/tmp/") + 5);
        Path targetPath = new Path(location + "/" + path);
        return new Path(targetPath.getParent() + "/" + inProgressPath.getName());
    }
get target hdfs path and temp hdfs path for data writing

@param writerFactory hive writer factory
@return pair of target path and temp path
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/hive/src/main/java/org/apache/inlong/sort/hive/filesystem/HadoopPathBasedPartFileWriter.java