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

Atri Sharma commented on TAJO-572:
----------------------------------

Thanks a ton!

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

Reply via email to