You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Atri Sharma (JIRA)" <ji...@apache.org> on 2015/05/06 18:06:01 UTC
[jira] [Commented] (TAJO-572) In an aggregation query, all
expressions must appear in the GROUP BY clause or be used in an aggregate
function
[ https://issues.apache.org/jira/browse/TAJO-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14530789#comment-14530789 ]
Atri Sharma commented on TAJO-572:
----------------------------------
Hi,
I am understanding code for implementing this patch. Can someone please elaborate on PreLogicalPlanVerifier class structure and visitGroupBy function please?
Regards,
Atri
> In an aggregation query, all expressions must appear in the GROUP BY clause or be used in an aggregate function
> ---------------------------------------------------------------------------------------------------------------
>
> Key: TAJO-572
> URL: https://issues.apache.org/jira/browse/TAJO-572
> Project: Tajo
> Issue Type: Sub-task
> Components: planner/optimizer
> Reporter: Hyunsik Choi
> Assignee: Atri Sharma
>
> The validation check rule is as follows:
> Condition:
> * All query blocks which have an aggregation regardless of implicit or explicit group-by
> Rule:
> * All expressions must appear in the GROUP BY clause or be used in an aggregate function.
> * But, constant value is allowed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)