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

Column Pruner issues in union of loader with and without schema

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6.0
    • 0.7.0
    • impl
    • None
    • Reviewed

    Description

      Column pruner for union could fail if one source of union have the schema and the other does not have schema. For example, the following script fail:

      a = load '1.txt' as (a0, a1, a2);
      b = foreach a generate a0;
      c = load '2.txt';
      d = foreach c generate $0;
      e = union b, d;
      dump e;
      

      However, this issue is in trunk only and is not applicable to 0.6 branch.

      Attachments

        1. PIG-1176-1.patch
          4 kB
          Daniel Dai

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: