[
https://issues.apache.org/jira/browse/IMPALA-5512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Russell resolved IMPALA-5512.
----------------------------------
Resolution: Fixed
Fix Version/s: Impala 2.9.0
> Wrong SELECT syntax documentation
> ---------------------------------
>
> Key: IMPALA-5512
> URL: https://issues.apache.org/jira/browse/IMPALA-5512
> Project: IMPALA
> Issue Type: Bug
> Components: Docs
> Reporter: Lukas Eder
> Assignee: John Russell
> Priority: Minor
> Labels: newbie
> Fix For: Impala 2.9.0
>
>
> The documentation specifies two times GROUP BY, when the latter should be
> ORDER BY:
> https://www.cloudera.com/documentation/enterprise/5-8-x/topics/impala_select.html#select
> *IS:*
> {code}
> ...
> WHERE conditions
> GROUP BY { column | expression [ASC | DESC] [NULLS FIRST | NULLS LAST] [,
> ...] }
> HAVING conditions
> GROUP BY { column | expression [ASC | DESC] [, ...] }
> LIMIT expression [OFFSET expression]
> ...
> {code}
> *SHOULD BE:*
> {code}
> ...
> WHERE conditions
> GROUP BY { column | expression [ASC | DESC] [NULLS FIRST | NULLS LAST] [,
> ...] }
> HAVING conditions
> ORDER BY { column | expression [ASC | DESC] [, ...] }
> LIMIT expression [OFFSET expression]
> ...
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)