[ 
https://issues.apache.org/jira/browse/HIVE-24750?focusedWorklogId=556770&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-556770
 ]

ASF GitHub Bot logged work on HIVE-24750:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Feb/21 06:36
            Start Date: 24/Feb/21 06:36
    Worklog Time Spent: 10m 
      Work Description: ayushtkn commented on a change in pull request #1954:
URL: https://github.com/apache/hive/pull/1954#discussion_r581666341



##########
File path: 
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplExternalTables.java
##########
@@ -180,6 +195,14 @@ void dataLocationDump(Table table, FileList fileList, 
HiveConf conf)
       }
     }
 
+    void dbLocationDump(String dbName, Path dbLocation, FileList fileList,
+        HiveConf conf) throws Exception {
+      Path fullyQualifiedDataLocation = PathBuilder
+          .fullyQualifiedHDFSUri(dbLocation, FileSystem.get(hiveConf));
+      write(lineFor(dbName, fullyQualifiedDataLocation, hiveConf));

Review comment:
       Nopes, the name isn't used anywhere, it writes to 
`_external_tables_info` which is anyway going to get deleted




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 556770)
    Time Spent: 0.5h  (was: 20m)

> Create a single copy task for external tables within default DB location
> ------------------------------------------------------------------------
>
>                 Key: HIVE-24750
>                 URL: https://issues.apache.org/jira/browse/HIVE-24750
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Presently we create single task for each table, but for the tables within 
> default DB location, we can copy the DB location in one task.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to