[ 
https://issues.apache.org/jira/browse/HIVE-8869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesús Camacho Rodríguez updated HIVE-8869:
------------------------------------------
    Attachment: HIVE-8869.02.patch

It seems some readers (Accumulo, Vectorization) assume that the schema should 
contain all the columns of the tuples that are read, even if the columns are 
pruned... I changed the patch so they schema of the TableScan is not changed.

> RowSchema not updated for some ops when columns are pruned
> ----------------------------------------------------------
>
>                 Key: HIVE-8869
>                 URL: https://issues.apache.org/jira/browse/HIVE-8869
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.14.0, 0.15.0
>            Reporter: Jesús Camacho Rodríguez
>            Assignee: Jesús Camacho Rodríguez
>         Attachments: HIVE-8869.01.patch, HIVE-8869.02.patch, HIVE-8869.patch
>
>
> When columns are pruned in ColumnPrunerProcFactory, updating the row schema 
> behavior is not consistent among operators: some will update their RowSchema, 
> while some others will not.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to