[
https://issues.apache.org/jira/browse/TAJO-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14542494#comment-14542494
]
Atri Sharma commented on TAJO-572:
----------------------------------
Thanks [~hyunsik]
So understanding deeper, I understand we will need to add to visitGroupBy in
LogicalPlanVerifier and ensure that the expressions match up?
Is there some similar code that I can look at to see how we do expression
matching,please?
> 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)