Pig
  1. Pig
  2. PIG-3255

Avoid extra byte array copies in streaming

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.11
    • Fix Version/s: 0.12.0
    • Component/s: None
    • Labels:
      None

      Description

      PigStreaming.java:

      public Tuple deserialize(byte[] bytes) throws IOException

      { Text val = new Text(bytes); return StorageUtil.textToTuple(val, fieldDel); }

      Should remove new Text(bytes) copy and construct the tuple directly from the bytes

      1. PIG-3255-1.patch
        3 kB
        Rohini Palaniswamy
      2. PIG-3255-2.patch
        12 kB
        Rohini Palaniswamy
      3. PIG-3255-3.patch
        55 kB
        Rohini Palaniswamy
      4. PIG-3255-4.patch
        21 kB
        Rohini Palaniswamy
      5. PIG-3255-5.patch
        21 kB
        Rohini Palaniswamy

        Issue Links

          Activity

            People

            • Assignee:
              Rohini Palaniswamy
              Reporter:
              Rohini Palaniswamy
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development