hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasad Chakka (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-627) Optimizer should only access RowSchema (and not RowResolver)
Date Tue, 14 Jul 2009 16:31:15 GMT

    [ 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.


Mime
View raw message