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

Fix for PIG-3100 breaks column pruning

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.12.0, 0.12.1
    • 0.13.0
    • None
    • None
    • Reviewed

    Description

      The fix for PIG-3100 does Math.min(fieldSchemas.length, tup.size()) in PigStorage.applySchema(). This means that if column pruning is in use, all schema columns will not be iterated over (since tup.size() will be less than fieldSchemas.length) and the schema will not be applied to all columns,

      Attachments

        1. PIG-3650.patch
          3 kB
          Travis Woodruff

        Activity

          People

            tmwoodruff Travis Woodruff
            tmwoodruff Travis Woodruff
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: