Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3057

Make PigStorage.readField() protected

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.8.0, 0.8.1, 0.9.0, 0.9.1, 0.9.2, 0.10.0
    • Fix Version/s: 0.12.0
    • Component/s: build, internal-udfs
    • Labels:
    • Patch Info:
      Patch Available

      Description

      for the cases when we need to extend PigStorage just to override readField. Currently, we need to copy/paste several private fields and all getNext

      I've changed readField from private to protected and added a new method: protected void addToCurrentTuple(DataByteArray data)

        Attachments

        1. PigStorage_readField.patch
          0.8 kB
          pablo martinez
        2. PIG-3057_1.patch
          2 kB
          Bill Graham

          Activity

            People

            • Assignee:
              pablomar pablo martinez
              Reporter:
              pablomar pablo martinez
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified