You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Travis Woodruff (JIRA)" <ji...@apache.org> on 2014/01/07 02:54:50 UTC

[jira] [Created] (PIG-3650) Fix for PIG-3100 breaks column pruning

Travis Woodruff created PIG-3650:
------------------------------------

             Summary: Fix for PIG-3100 breaks column pruning
                 Key: PIG-3650
                 URL: https://issues.apache.org/jira/browse/PIG-3650
             Project: Pig
          Issue Type: Bug
    Affects Versions: 0.12.0, 0.12.1
            Reporter: Travis Woodruff
            Priority: Critical


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,



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)