[ 
https://issues.apache.org/jira/browse/HIVE-5666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13806808#comment-13806808
 ] 

Ashutosh Chauhan commented on HIVE-5666:
----------------------------------------

+1

> 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)

Reply via email to