Hive
  1. Hive
  2. HIVE-5666

use Path instead of String for IOContext.inputPath

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major 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.

      1. HIVE-5666.1.patch
        10 kB
        Thejas M Nair

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development