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

Add API for StoreFunc to specify if they are write safe from two different vertices

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.16.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently this is done with config settings. Having a programmatic API will let people writing StoreFunc to specifically state whether they support it or not. Added the method to StoreFunc instead of creating a new interface. If it is a new interface, then the StoreFunc implementation cannot be used with older versions of Pig.

      When we drop JDK 7 support (hopefully in another year), will move this as a default method to StoreFuncInterface as JDK 8 supports that.

        Attachments

        1. PIG-4894-1.patch
          21 kB
          Rohini Palaniswamy
        2. PIG-4894-2.patch
          22 kB
          Rohini Palaniswamy

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: