You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ta...@apache.org on 2018/02/17 00:17:29 UTC
[3/4] impala git commit: [DOCS] Typos fixed in Impala Analytic
Functions doc
[DOCS] Typos fixed in Impala Analytic Functions doc
Change-Id: Iec4a2822f5e066574e64bf025d300e4cde7a7d29
Reviewed-on: http://gerrit.cloudera.org:8080/9347
Reviewed-by: Tim Armstrong <ta...@cloudera.com>
Reviewed-by: John Russell <jr...@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/e0abffb9
Tree: http://git-wip-us.apache.org/repos/asf/impala/tree/e0abffb9
Diff: http://git-wip-us.apache.org/repos/asf/impala/diff/e0abffb9
Branch: refs/heads/master
Commit: e0abffb94f64266bb1b3bcda45b791bf5d51af7d
Parents: 0eaab69
Author: Alex Rodoni <ar...@cloudera.com>
Authored: Thu Feb 15 16:16:37 2018 -0800
Committer: Impala Public Jenkins <im...@gerrit.cloudera.org>
Committed: Fri Feb 16 23:55:33 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/e0abffb9/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/e0abffb9/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>