Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-5666

use Path instead of String for IOContext.inputPath

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              thejas Thejas M Nair
              Reporter:
              thejas Thejas M Nair
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: