tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAJO-538) Groupby queries with constant target lists doesn't work
Date Tue, 21 Jan 2014 06:41:21 GMT

    [ https://issues.apache.org/jira/browse/TAJO-538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13877274#comment-13877274
] 

Hudson commented on TAJO-538:
-----------------------------

SUCCESS: Integrated in Tajo-master-build #23 (See [https://builds.apache.org/job/Tajo-master-build/23/])
TAJO-538: Groupby queries with constant target lists doesn't work. (hyunsik) (hyunsik: https://git-wip-us.apache.org/repos/asf?p=incubator-tajo.git&a=commit&h=9693b739745928c67946c22f0f58254344bae88d)
* tajo-core/tajo-core-backend/src/test/resources/results/TestGroupByQuery/testGroupBy5.result
* tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/engine/query/TestGroupByQuery.java
* tajo-core/tajo-core-backend/src/test/resources/queries/TestGroupByQuery/testGroupBy5.sql
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/planner/NamedExprsManager.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/planner/LogicalPlanner.java


> Groupby queries with constant target lists doesn't work
> -------------------------------------------------------
>
>                 Key: TAJO-538
>                 URL: https://issues.apache.org/jira/browse/TAJO-538
>             Project: Tajo
>          Issue Type: Bug
>          Components: planner/optimizer
>            Reporter: Hyunsik Choi
>            Assignee: Hyunsik Choi
>             Fix For: 0.8-incubating
>
>         Attachments: TAJO-538.patch, TAJO-538_20140121_14:20:12.patch
>
>
> {code}
> select l_orderkey as gkey, '00' as num from lineitem group by lineitem.l_orderkey;
> {code}
> Basically, target list must be either grouping key or measure. In addition, constant
value can be placed on the target list with groupby.
> But, current Tajo causes error in this case. This patch fixes this bug.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message