XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • tez-branch
    • impl
    • None
    • Reviewed

    Description

      Currently run a Pig script with empty plan fail:
      a = load 'input.txt';
      b = group a by a0;
      store b into 'ooo';

      Non empty plan works:
      a = load 'input.txt' as (a0:chararray);
      b = group a by a0;
      c = foreach b generate group, COUNT(a) as count;
      d = group c by count;
      store d into 'ooo';

      Put a simple patch contains the fix.

      Attachments

        1. PIG-3532-1.patch
          2 kB
          Daniel Dai

        Activity

          People

            daijy Daniel Dai
            daijy Daniel Dai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: