[
https://issues.apache.org/jira/browse/HIVE-2339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13577399#comment-13577399
]
Navis commented on HIVE-2339:
-----------------------------
[~yhuai] HIVE-2340 modified CPFactory to retain key parts in colExprMap of RS.
But I'm not sure if it would be enough for your use cases.
> Preserve RS key columns in columnExprMap after CP optimization, which might
> be useful to other optimizers
> ---------------------------------------------------------------------------------------------------------
>
> Key: HIVE-2339
> URL: https://issues.apache.org/jira/browse/HIVE-2339
> Project: Hive
> Issue Type: Sub-task
> Components: Query Processor
> Reporter: Navis
> Assignee: Navis
> Priority: Trivial
> Fix For: 0.8.0
>
> Attachments: HIVE-2339.1.patch
>
>
> In ColumnPrunerProcFactory#pruneReduceSinkOperator, only VALUE parts are
> retained from columnExprMap. Doesn't anyone want KEY parts to retained,
> either? In my case, it was very useful for backtracking column names and
> removing RS in *-RS-*-RS-GBY case.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira