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 2015/06/24 11:55:04 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=14599194#comment-14599194 ]
Hyunsik Choi commented on TAJO-572:
-----------------------------------
Hi [~atris],
I'm very sorry for late reply. You need to check out EvalNode, which is an expression representation in Tajo. Also, LogicalPlanner::verifyProjectedFields would be good staring point for this issue. The implementation verifies some of all cases mentioned in this Jira issue.
Thanks!
> 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)