Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0
    • Component/s: None
    • Labels:
      None
    • Release Note:
      Hide
      TOMAP function constructs a map from arguments passed to it.

      Example:

      ....
      B = foreach A generate TOMAP(key1, val1, key2, val2, key3, val3);

      ....
      Show
      TOMAP function constructs a map from arguments passed to it. Example: .... B = foreach A generate TOMAP(key1, val1, key2, val2, key3, val3); ....

      Description

      While doing some testing, I needed a function that generated a map. I created TOMAP that is similar to TOTUPLE and TOBAG and want to contribute it to builtin in case it is useful to others

      1. PIG-1809.patch
        4 kB
        Olga Natkovich

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Olga Natkovich
            Reporter:
            Olga Natkovich
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development