You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Peter Vary (Jira)" <ji...@apache.org> on 2021/01/19 09:53:02 UTC

[jira] [Resolved] (HIVE-14165) Remove Hive file listing during split computation

     [ https://issues.apache.org/jira/browse/HIVE-14165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Vary resolved HIVE-14165.
-------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Pushed to master.

Thanks for the patch [~pvargacl]!

> 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
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>         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: 40m
>  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)