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

Prasad Chakka commented on HIVE-627:
------------------------------------

ppd uses rowresolve to figure out which alias that a particular column belongs 
to. without this it is tough to figure out whether an expression is a candidate 
for ppd or not. so this information (column -> alias) should be preserved in 
any data structure that replaces rowresolver. i believe rowschema doesn't have 
this information right now.

> Optimizer should only access RowSchema (and not RowResolver)
> ------------------------------------------------------------
>
>                 Key: HIVE-627
>                 URL: https://issues.apache.org/jira/browse/HIVE-627
>             Project: Hadoop Hive
>          Issue Type: Improvement
>            Reporter: Zheng Shao
>
> The column pruner is accessing RowResolver a lot of times, for things like 
> reverseLookup, and get(alias, column).
> These are not necessary - we should not need to translate an internal name to 
> (alias, column) and then translate back. We should be able to use internal 
> name from one operator to the other, using RowSchema.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to