[ https://issues.apache.org/jira/browse/HIVE-21654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sankar Hariappan updated HIVE-21654: ------------------------------------ Status: Patch Available (was: Open) > 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, replication > Attachments: HIVE-21654.01.patch > > > 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)