Repository: incubator-impala Updated Branches: refs/heads/master cb645b1bc -> c67b198a1
IMPALA-5512: [DOCS] Distinguish GROUP BY and ORDER BY in SELECT syntax Turned one instance of GROUP BY in the syntax declaration into ORDER BY. Moved NULLS FIRST and NULLS LAST from first instance of GROUP BY to the new ORDER BY line. Change-Id: I9df24cf5af4f2b0aabdb388b4e46a75e0e5275a7 Reviewed-on: http://gerrit.cloudera.org:8080/7789 Reviewed-by: Alex Behm <[email protected]> Tested-by: Impala Public Jenkins Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/91fc5b58 Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/91fc5b58 Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/91fc5b58 Branch: refs/heads/master Commit: 91fc5b587926bca079bfbe52d7471d5460788418 Parents: cb645b1 Author: John Russell <[email protected]> Authored: Wed Aug 23 15:10:18 2017 -0700 Committer: Impala Public Jenkins <[email protected]> Committed: Wed Aug 23 23:55:04 2017 +0000 ---------------------------------------------------------------------- docs/topics/impala_select.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/91fc5b58/docs/topics/impala_select.xml ---------------------------------------------------------------------- diff --git a/docs/topics/impala_select.xml b/docs/topics/impala_select.xml index c28890a..52954e7 100644 --- a/docs/topics/impala_select.xml +++ b/docs/topics/impala_select.xml @@ -60,9 +60,9 @@ FROM <i>table_reference</i> [, <i>table_reference</i> ...] JOIN <i>table_reference</i> [ON <i>join_equality_clauses</i> | USING (<varname>col1</varname>[, <varname>col2</varname> ...]] ... WHERE <i>conditions</i> -GROUP BY { <i>column</i> | <i>expression</i> [ASC | DESC] [NULLS FIRST | NULLS LAST] [, ...] } +GROUP BY { <i>column</i> | <i>expression</i> [, ...] } HAVING <codeph>conditions</codeph> -GROUP BY { <i>column</i> | <i>expression</i> [ASC | DESC] [, ...] } +ORDER BY { <i>column</i> | <i>expression</i> [ASC | DESC] [NULLS FIRST | NULLS LAST] [, ...] } LIMIT <i>expression</i> [OFFSET <i>expression</i>] [UNION [ALL] <i>select_statement</i>] ...] </codeblock>
