[
https://issues.apache.org/jira/browse/HIVE-5666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashutosh Chauhan updated HIVE-5666:
-----------------------------------
Resolution: Fixed
Fix Version/s: 0.13.0
Status: Resolved (was: Patch Available)
Committed to trunk. Thanks, Thejas!
> 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
> Fix For: 0.13.0
>
> 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)