[ 
https://issues.apache.org/jira/browse/HIVE-6910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13970088#comment-13970088
 ] 

Adeel Qureshi commented on HIVE-6910:
-------------------------------------

does the patch works if the query includes not all of the partition columns 
because it seems like you are adding all partition columns to columnAccessInfo 
instead of just the needed ones based on the query

select non-part-col1, part-col-2 from table

should return only these two columns and not all other partition columns as 
well. Just wanted to make sure that is being taken into consideration.

> Invalid column access info for partitioned table
> ------------------------------------------------
>
>                 Key: HIVE-6910
>                 URL: https://issues.apache.org/jira/browse/HIVE-6910
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.11.0, 0.12.0, 0.13.0
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Minor
>         Attachments: HIVE-6910.1.patch.txt
>
>
> From http://www.mail-archive.com/user@hive.apache.org/msg11324.html
> neededColumnIDs in TS is only for non-partition columns. But 
> ColumnAccessAnalyzer is calculating it on all columns.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to