You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2014/01/21 06:15:19 UTC

[jira] [Updated] (TAJO-538) Groupby queries with constant target lists doesn't work

     [ https://issues.apache.org/jira/browse/TAJO-538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyunsik Choi updated TAJO-538:
------------------------------

    Attachment: TAJO-538.patch

> 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
>
>
> {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)