[ https://issues.apache.org/jira/browse/HIVE-20805?focusedWorklogId=443077&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-443077 ]
ASF GitHub Bot logged work on HIVE-20805: ----------------------------------------- Author: ASF GitHub Bot Created on: 09/Jun/20 16:29 Start Date: 09/Jun/20 16:29 Worklog Time Spent: 10m Work Description: github-actions[bot] commented on pull request #482: URL: https://github.com/apache/hive/pull/482#issuecomment-641144242 This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Feel free to reach out on the d...@hive.apache.org list if the patch is in need of reviews. ---------------------------------------------------------------- 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: 443077) Remaining Estimate: 0h Time Spent: 10m > Hive does not copy source data when importing as non-hive user > --------------------------------------------------------------- > > Key: HIVE-20805 > URL: https://issues.apache.org/jira/browse/HIVE-20805 > Project: Hive > Issue Type: Bug > Components: Hive, HiveServer2 > Affects Versions: 4.0.0 > Reporter: mahesh kumar behera > Assignee: mahesh kumar behera > Priority: Major > Labels: pull-request-available > Fix For: 4.0.0 > > Attachments: HIVE-20805.03.patch, HIVE-20805.1.patch, > HIVE-20805.2.patch > > Time Spent: 10m > Remaining Estimate: 0h > > while loading data to a managed table from user given path, Hive uses move > operation to copy data from user location to table location. In case move can > not be used due to permission issue or mismatched encryption zone etc, hive > uses copy and then deletes the files from source location to keep to behavior > same. But in case the user does not have write access to the source location, > delete will fail with file permission exception and load operation will fail. -- This message was sent by Atlassian Jira (v8.3.4#803005)