[
https://issues.apache.org/jira/browse/TAJO-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14075853#comment-14075853
]
Hudson commented on TAJO-974:
-----------------------------
FAILURE: Integrated in Tajo-master-build #315 (See
[https://builds.apache.org/job/Tajo-master-build/315/])
TAJO-974: Eliminate unexpected case condition in SubQuery. (Hyoungjun Kim via
hyunsik) (hyunsik: rev 1f6b5b38752f499ee6d70ea1be399df34442b4f3)
* tajo-core/src/main/java/org/apache/tajo/master/querymaster/SubQuery.java
* tajo-core/src/main/java/org/apache/tajo/master/querymaster/Repartitioner.java
* tajo-core/src/test/java/org/apache/tajo/engine/query/TestGroupByQuery.java
* CHANGES
> Eliminate unexpected case condition in SubQuery
> -----------------------------------------------
>
> Key: TAJO-974
> URL: https://issues.apache.org/jira/browse/TAJO-974
> Project: Tajo
> Issue Type: Bug
> Components: distributed query plan
> Reporter: Hyunsik Choi
> Assignee: Hyoungjun Kim
> Fix For: 0.9.0
>
>
> Please take a loot at the below code. In
> SubQuery::calculateShuffleOutputNum() method, if-condition will be passed
> through the unexpected case if the plan is neither group by and join. In
> current implementation, distinct group-by operator can cause this case.
> Actually, the below code is messy. We need to directly handle distinct group
> by and clean up the below code.
> {code:title="SubQuery::calculateShuffleOutputNum()"}
> } else {
> LOG.info("============>>>>> Unexpected Case! <<<<<================");
> long volume = getInputVolume(subQuery.masterPlan, subQuery.context,
> subQuery.block);
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)