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

PigStorageSchema initializes schema and PigContext for every tuple

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.1
    • 0.9.3
    • None
    • None

    Description

      PigStorageSchema.getNest() initializes schema (and as a result PigContext) for every tuple by mistake. Initializing PigContext is extremely costly.

      This does not affect 10.x or trunk since PigStorageSchema's functionality is rolled into PigStorage.

      Attachments

        1. PIG-2555-branch-0.9.patch
          2 kB
          Raghu Angadi

        Activity

          People

            rangadi Raghu Angadi
            rangadi Raghu Angadi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: