[
https://issues.apache.org/jira/browse/HIVE-21654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16828943#comment-16828943
]
mahesh kumar behera commented on HIVE-21654:
--------------------------------------------
[^HIVE-21654.02.patch] looks fine to me
+1
> External table location is not preserved at target when base dir is set as /.
> -----------------------------------------------------------------------------
>
> Key: HIVE-21654
> URL: https://issues.apache.org/jira/browse/HIVE-21654
> Project: Hive
> Issue Type: Bug
> Components: repl
> Affects Versions: 4.0.0
> Reporter: Sankar Hariappan
> Assignee: Sankar Hariappan
> Priority: Major
> Labels: DR, pull-request-available, replication
> Attachments: HIVE-21654.01.patch, HIVE-21654.02.patch
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> External table location is not preserved same as source path when base
> directory is set as "/".
> Source path: /tmp/ext/src/db1/ext1
> Target path: /ext/src/db1/ext1 --> It should be /tmp/ext/src/db1/ext1 itself.
> External table base dir supplied: /
> If the base dir input is changed to "/abc", then target path is set as
> "/abc/tmp/ext/src/db1/ext1 which is correct.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)