[
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_20140121_14:20:12.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, 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)