[
https://issues.apache.org/jira/browse/HIVE-28373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18061894#comment-18061894
]
Denys Kuzmenko edited comment on HIVE-28373 at 2/28/26 10:49 PM:
-----------------------------------------------------------------
yes, it works when refactored with nio
{code}
Files.move(
Paths.get(srcPath.toUri()), Paths.get(dstPath.toUri()),
StandardCopyOption.ATOMIC_MOVE
);
return true;
{code}
was (Author: dkuzmenko):
yes, it works when refactored with nio
{code}
Files.move(
java.nio.file.Path.of(srcPath.toUri()),
java.nio.file.Path.of(dstPath.toUri())
);
return true;
{code}
> Iceberg: Refactor the code of HadoopTableOptions
> ------------------------------------------------
>
> Key: HIVE-28373
> URL: https://issues.apache.org/jira/browse/HIVE-28373
> Project: Hive
> Issue Type: Improvement
> Components: Iceberg integration
> Affects Versions: 4.0.0
> Reporter: yongzhi.shao
> Assignee: yongzhi.shao
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.1.0
>
>
> Since there are a lot of problems with hadoop_catalog, we submitted the
> following PR to the iceberg community:
> [core:Refactor the code of HadoopTableOptions by BsoBird · Pull Request
> #10623 · apache/iceberg
> (github.com)|https://github.com/apache/iceberg/pull/10623]
> With this PR, we can implement atomic operations based on hadoopcatalog.
> But this PR is not accepted by the iceberg community.And it seems that the
> iceberg community is trying to remove support for hadoopcatalog(only for
> testing).
> Since hive itself supports a number of features based on the hadoop_catalog
> table, can we merge this patch in hive?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)