hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei Zheng (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-11193) ConstantPropagateProcCtx should use a Set instead of a List to hold operators to be deleted
Date Tue, 07 Jul 2015 20:33:04 GMT
Wei Zheng created HIVE-11193:
--------------------------------

             Summary: ConstantPropagateProcCtx should use a Set instead of a List to hold
operators to be deleted
                 Key: HIVE-11193
                 URL: https://issues.apache.org/jira/browse/HIVE-11193
             Project: Hive
          Issue Type: Bug
          Components: Logical Optimizer
            Reporter: Wei Zheng
            Assignee: Wei Zheng


During Constant Propagation optimization, sometimes a node ends up being added to opToDelete
list more than once.

Later in ConstantPropagate transform, we try to delete that operator multiple times, which
will cause SemanticException since the node has already been removed in an earlier pass.

The data structure for storing opToDelete is List. We should use Set to avoid the problem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message