Details

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

      Description

      Get several request for a UDF to flatten a bag. Seems reasonable to create one in builtin:
      1. BagToTuple:

      {(a),(b),(c)}

      -> (a,b,c)
      2. BagToString(delimit="_"): {(a),(b),(c) -> "a_b_c"

        Attachments

        1. bagtotuplestring.diff
          19 kB
          Hien Luu
        2. PIG-2166.diff
          27 kB
          Hien Luu
        3. PIG-2166-e2e.diff
          34 kB
          Hien Luu
        4. test_harnesss_1338753364
          70 kB
          Hien Luu

          Activity

            People

            • Assignee:
              hluu Hien Luu
              Reporter:
              daijy Daniel Dai
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: