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

Raghotham Murthy commented on HIVE-771:
---------------------------------------

Do you really need the maps of class to type? You can probably just remove the 
following:

In Operator.java:
+  Map<Class<?>, Integer> operatorTypes;

In QueryPlan.java:
+  private static Map<Class<?>, Integer> stageTypes;
+  private static Map<Class<?>, Integer> operatorTypes;

> QueryPlan getStageType and getOperatorType should use a hash map instead of 
> the big if
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-771
>                 URL: https://issues.apache.org/jira/browse/HIVE-771
>             Project: Hadoop Hive
>          Issue Type: Improvement
>            Reporter: Namit Jain
>            Assignee: Emil Ibrishimov
>         Attachments: HIVE-771.1.patch
>
>


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