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

Adding 'map[]' support to mock/Storage

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.14.0
    • 0.16.0
    • None
    • None
    • Reviewed
    • The Storage mocking feature supports input and output of "map" types.

    Description

      The mock/Storage contains convenience methods for creating a bag and a tuple when doing unit tests. Pig has however 3 complex data types ( see http://pig.apache.org/docs/r0.14.0/basic.html#Simple+and+Complex ) and the third one (the map) is not yet present in such a convenience method.

      Feature request: Add such a method to facilitate testing map[] output better.

      Attachments

        1. PIG-4405-20150723.patch
          3 kB
          Niels Basjes
        2. PIG-4405-20150805-1058.patch
          4 kB
          Niels Basjes
        3. PIG-4405-20150805-1247.patch
          4 kB
          Niels Basjes

        Issue Links

          Activity

            People

              nielsbasjes Niels Basjes
              nielsbasjes Niels Basjes
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: