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

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.16.0
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: