[DOCS] Typos fixed in Impala Analytic Functions doc Change-Id: Iec4a2822f5e066574e64bf025d300e4cde7a7d29 Reviewed-on: http://gerrit.cloudera.org:8080/9347 Reviewed-by: Tim Armstrong <tarmstr...@cloudera.com> Reviewed-by: John Russell <jruss...@cloudera.com> Tested-by: Impala Public Jenkins
Project: http://git-wip-us.apache.org/repos/asf/impala/repo Commit: http://git-wip-us.apache.org/repos/asf/impala/commit/473f93f0 Tree: http://git-wip-us.apache.org/repos/asf/impala/tree/473f93f0 Diff: http://git-wip-us.apache.org/repos/asf/impala/diff/473f93f0 Branch: refs/heads/2.x Commit: 473f93f0c48f76c54130fa7175845efd32044cc9 Parents: 3a386d9 Author: Alex Rodoni <arod...@cloudera.com> Authored: Thu Feb 15 16:16:37 2018 -0800 Committer: Impala Public Jenkins <impala-public-jenk...@gerrit.cloudera.org> Committed: Sat Feb 17 00:54:57 2018 +0000 ---------------------------------------------------------------------- docs/shared/impala_common.xml | 2 +- docs/topics/impala_analytic_functions.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/impala/blob/473f93f0/docs/shared/impala_common.xml ---------------------------------------------------------------------- diff --git a/docs/shared/impala_common.xml b/docs/shared/impala_common.xml index 410fa9c..a052879 100644 --- a/docs/shared/impala_common.xml +++ b/docs/shared/impala_common.xml @@ -2602,7 +2602,7 @@ flight_num: INT32 SNAPPY DO:83456393 FPO:83488603 SZ:10216514/11474301 <p rev="" id="analytic_partition_pruning_caveat"> In queries involving both analytic functions and partitioned tables, partition pruning only occurs for columns named in the <codeph>PARTITION BY</codeph> clause of the analytic function call. For example, if an analytic function query has a clause such as <codeph>WHERE year=2016</codeph>, - the way to make the query prune all other <codeph>YEAR</codeph> partitions is to include <codeph>PARTITION BY year</codeph>in the analytic function call; + the way to make the query prune all other <codeph>YEAR</codeph> partitions is to include <codeph>PARTITION BY year</codeph> in the analytic function call; for example, <codeph>OVER (PARTITION BY year,<varname>other_columns</varname> <varname>other_analytic_clauses</varname>)</codeph>. <!-- These examples illustrate the technique: http://git-wip-us.apache.org/repos/asf/impala/blob/473f93f0/docs/topics/impala_analytic_functions.xml ---------------------------------------------------------------------- diff --git a/docs/topics/impala_analytic_functions.xml b/docs/topics/impala_analytic_functions.xml index bdaacca..39d4fc5 100644 --- a/docs/topics/impala_analytic_functions.xml +++ b/docs/topics/impala_analytic_functions.xml @@ -781,7 +781,7 @@ order by kind, ordering desc, name; <p> Partitioning by the <codeph>X</codeph> column groups all the duplicate numbers together and returns the - place each each value within the group; because each value occurs only 1 or 2 times, + place each value within the group; because each value occurs only 1 or 2 times, <codeph>DENSE_RANK()</codeph> designates each <codeph>X</codeph> value as either first or second within its group. </p> @@ -1569,7 +1569,7 @@ insert into animals values ('Fire-breathing dragon', 'Mythical', NULL); <p> Partitioning by the <codeph>X</codeph> column groups all the duplicate numbers together and returns the - place each each value within the group; because each value occurs only 1 or 2 times, + place each value within the group; because each value occurs only 1 or 2 times, <codeph>RANK()</codeph> designates each <codeph>X</codeph> value as either first or second within its group. </p>