[ https://issues.apache.org/jira/browse/HIVE-14165?focusedWorklogId=535524&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-535524 ]
ASF GitHub Bot logged work on HIVE-14165: ----------------------------------------- Author: ASF GitHub Bot Created on: 13/Jan/21 16:31 Start Date: 13/Jan/21 16:31 Worklog Time Spent: 10m Work Description: pvargacl opened a new pull request #1866: URL: https://github.com/apache/hive/pull/1866 ### What changes were proposed in this pull request? Remove unnecessary file listing from Fetchoperator, rather handle FileNotFoundException, to make it more performant on s3. Rebased the original patch from Sahil Takiar. ### Why are the changes needed? Performance improvement ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Current unit tests. Manually test: deleted some directories during execution to cause FileNotFoundEx. ---------------------------------------------------------------- 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: 535524) Remaining Estimate: 0h Time Spent: 10m > Remove Hive file listing during split computation > ------------------------------------------------- > > Key: HIVE-14165 > URL: https://issues.apache.org/jira/browse/HIVE-14165 > Project: Hive > Issue Type: Sub-task > Affects Versions: 2.1.0 > Reporter: Abdullah Yousufi > Assignee: Peter Varga > Priority: Major > Attachments: HIVE-14165.02.patch, HIVE-14165.03.patch, > HIVE-14165.04.patch, HIVE-14165.05.patch, HIVE-14165.06.patch, > HIVE-14165.07.patch, HIVE-14165.patch > > Time Spent: 10m > Remaining Estimate: 0h > > The Hive side listing in FetchOperator.java is unnecessary, since Hadoop's > FileInputFormat.java will list the files during split computation anyway to > determine their size. One way to remove this is to catch the > InvalidInputFormat exception thrown by FileInputFormat#getSplits() on the > Hive side instead of doing the file listing beforehand. > For S3 select queries on partitioned tables, this results in a 2x speedup. -- This message was sent by Atlassian Jira (v8.3.4#803005)