You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2013/10/28 08:13:32 UTC

[jira] [Updated] (HIVE-5666) use Path instead of String for IOContext.inputPath

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

Thejas M Nair updated HIVE-5666:
--------------------------------

    Issue Type: Improvement  (was: Bug)

> use Path instead of String for IOContext.inputPath
> --------------------------------------------------
>
>                 Key: HIVE-5666
>                 URL: https://issues.apache.org/jira/browse/HIVE-5666
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>         Attachments: HIVE-5666.1.patch
>
>
> Path is converted to string in HiveContextAwareRecordReader to be stored in IOContext.inputPath, then in MapOperator normalizePath gets called on it which converts it back to Path. 
> Path creation is expensive, so it is better to use Path instead of string through the call stack.
> This is also a step towards HIVE-3616.



--
This message was sent by Atlassian JIRA
(v6.1#6144)