[
https://issues.apache.org/jira/browse/TAJO-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14903971#comment-14903971
]
ASF GitHub Bot commented on TAJO-1768:
--------------------------------------
Github user hyunsik commented on a diff in the pull request:
https://github.com/apache/tajo/pull/692#discussion_r40171417
--- 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 --
Basically, It cannot be avoidable. The problem is that both getChild() and
getCost() require type inference.
> Move Tajo into Java 8
> ---------------------
>
> Key: TAJO-1768
> URL: https://issues.apache.org/jira/browse/TAJO-1768
> Project: Tajo
> Issue Type: Improvement
> Reporter: Hyunsik Choi
> Assignee: Hyunsik Choi
> Priority: Minor
> Fix For: 0.12.0
>
> Attachments: TAJO-1768.patch
>
>
> As we discussed in the mailing list
> (http://search-hadoop.com/m/ZGIO9XqiTPKruL7/java+8&subj=+DISCUSSION+Migration+to+Java+8),
> this patch moves Tajo into Java 8. It changes the language level in maven
> and fix some unit test failure.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)