Github user jihoonson commented on a diff in the pull request:
https://github.com/apache/tajo/pull/692#discussion_r40165600
--- Diff:
tajo-plan/src/main/java/org/apache/tajo/plan/joinorder/GreedyHeuristicJoinOrderAlgorithm.java
---
@@ -484,7 +487,7 @@ public static double getCost(LogicalNode node) {
default:
// all binary operators (join, union, except, and intersect) are
handled in the above cases.
// So, we need to handle only unary nodes in default.
- cost = getCost(((UnaryNode) node).getChild());
+ cost = getCost((LogicalNode)((UnaryNode) node).getChild());
--- End diff --
Duplicate cast
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---