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

Union doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.2.0
    • None
    • None
    • Mac OS X

    Description

      data files:

      $ cat ~/tmp/data
      1 1
      2 1
      3 10

      $ cat ~/tmp/data-2
      4 20
      5 20

      pig script:
      data = load '/Users/arthur/tmp/data' as (x, y);
      data2 = load '/Users/arthur/tmp/data-2' as (x, y);
      both = union data, data2;
      dump both;

      result:
      (4, 20)
      (5, 20)

      Attachments

        Activity

          People

            Unassigned Unassigned
            arthurz Arthur Zwiegincew
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: