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:31 UTC

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

Thejas M Nair created HIVE-5666:
-----------------------------------

             Summary: use Path instead of String for IOContext.inputPath
                 Key: HIVE-5666
                 URL: https://issues.apache.org/jira/browse/HIVE-5666
             Project: Hive
          Issue Type: Bug
            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)