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

TypeCastInsert should not insert Foreach if there is no as statement

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.1, 0.10.0, 0.11
    • 0.9.2, 0.10.0, 0.11
    • None
    • None
    • Reviewed

    Description

      Currently, TypeCastInsert always insert foreach statement below the loader. But if the load statement doesn't have "as" clause, the foreach should not be added.

      Attachments

        1. PIG-2346-2.patch
          6 kB
          Daniel Dai
        2. PIG-2346-1.patch
          6 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: