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

UDFFinder should find LoadFunc used by POCast

    XMLWordPrintableJSON

Details

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

    Description

      UDFFinder doesn't look into POCast so it will miss LoadFunc used by POCast for lineage. We could see "class not found" exception in some cases. Here is a sample script:

      a = load '1.txt' using CustomLoader() as (a0, a1, a2);
      b = group a by a0;
      c = foreach b generate flatten(a);
      d = order c by a0;
      e = foreach d generate(a1+a2);  -- use lineage
      dump e;
      

      Attachments

        1. PIG-1335-1.patch
          3 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: