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

[jira] [Created] (TAJO-572) In an aggregation query, all expressions must appear in the GROUP BY clause or be used in an aggregate function

Hyunsik Choi created TAJO-572:
---------------------------------

             Summary: 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


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.1.5#6160)