[
https://issues.apache.org/jira/browse/TAJO-418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13849393#comment-13849393
]
Hudson commented on TAJO-418:
-----------------------------
SUCCESS: Integrated in Tajo-trunk-postcommit #624 (See
[https://builds.apache.org/job/Tajo-trunk-postcommit/624/])
TAJO-418: sort operator after Inline views consisting of unions can cause an
incorrect distributed plan. (hyunsik) (hyunsik:
https://git-wip-us.apache.org/repos/asf?p=incubator-tajo.git&a=commit&h=d930a90d50ce9b41050486ace11c96d0847b80b0)
*
tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/engine/query/TestCaseByCases.java
* tajo-core/tajo-core-backend/src/test/queries/tajo418_case.sql
*
tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/planner/global/GlobalPlanner.java
* CHANGES.txt
> sort operator after Inline views consisting of unions can cause an incorrect
> distributed plan
> ---------------------------------------------------------------------------------------------
>
> Key: TAJO-418
> URL: https://issues.apache.org/jira/browse/TAJO-418
> Project: Tajo
> Issue Type: Bug
> Components: distributed query plan
> Reporter: Hyunsik Choi
> Assignee: Hyunsik Choi
> Fix For: 0.8-incubating
>
> Attachments: TAJO-418.patch
>
>
> See the title. The following query is an example of this bug.
> {code}
> SELECT
> l_returnflag,
> l_linestatus
> FROM (
> SELECT
> *
> FROM
> lineitem
> WHERE
> l_returnflag = 'O'
> UNION ALL
> SELECT
> *
> FROM
> lineitem
> WHERE
> l_returnflag = 'R'
> ) T
> GROUP BY
> l_returnflag,
> l_linestatus
> ORDER BY
> l_returnflag,
> l_linestatus
> {code}
> This patch adds an unit test to reproduce this case and includes the bug fix.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)