[ https://issues.apache.org/jira/browse/HIVE-24669?focusedWorklogId=538498&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-538498 ]
ASF GitHub Bot logged work on HIVE-24669: ----------------------------------------- Author: ASF GitHub Bot Created on: 20/Jan/21 15:18 Start Date: 20/Jan/21 15:18 Worklog Time Spent: 10m Work Description: pvargacl commented on a change in pull request #1893: URL: https://github.com/apache/hive/pull/1893#discussion_r561044735 ########## File path: ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java ########## @@ -2620,18 +2622,18 @@ public static void listFilesInsideAcidDirectory(Path acidDir, FileSystem srcFs, } } - private void listFilesCreatedByQuery(Path loadPath, long writeId, int stmtId, boolean isInsertOverwrite, - List<Path> newFiles) throws HiveException { + private List<FileStatus> listFilesCreatedByQuery(Path loadPath, long writeId, int stmtId) throws HiveException { Review comment: No, we need the filestatuses, so we can reuse them later for populating the quickstats. In a follow up patch I will try to do the other way around and collect FileStatus everywhere in loadPartition instead of Path, because writeNotification could also benefit having the filestatuses ready. But it is not that trivial change in the non direct insert cases. ---------------------------------------------------------------- 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: 538498) Time Spent: 1h 50m (was: 1h 40m) > Improve Filesystem usage in Hive::loadPartitionInternal > ------------------------------------------------------- > > Key: HIVE-24669 > URL: https://issues.apache.org/jira/browse/HIVE-24669 > Project: Hive > Issue Type: Sub-task > Reporter: Peter Varga > Assignee: Peter Varga > Priority: Major > Labels: pull-request-available > Time Spent: 1h 50m > Remaining Estimate: 0h > > * Use native recursive listing instead doing it on the Hive side > * Reuse the file list determined for writeNotificationlogs in quickstat > generation -- This message was sent by Atlassian Jira (v8.3.4#803005)