You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by bh...@apache.org on 2018/04/13 22:59:51 UTC

[04/11] impala git commit: IMPALA-6623: [DOCS] ltrim and rtrim docs updated

IMPALA-6623: [DOCS] ltrim and rtrim docs updated

Change-Id: If4f7a04e3c64eade7a23cded21de5ff91c9c8c8c
Reviewed-on: http://gerrit.cloudera.org:8080/9984
Reviewed-by: Zoram Thanga <zo...@cloudera.com>
Reviewed-by: Alex Rodoni <ar...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/impala/commit/4510512c
Tree: http://git-wip-us.apache.org/repos/asf/impala/tree/4510512c
Diff: http://git-wip-us.apache.org/repos/asf/impala/diff/4510512c

Branch: refs/heads/2.x
Commit: 4510512c8c172cddde99939123740085cb351e12
Parents: 4de7dbd
Author: Alex Rodoni <ar...@cloudera.com>
Authored: Tue Apr 10 17:00:13 2018 -0700
Committer: Impala Public Jenkins <im...@gerrit.cloudera.org>
Committed: Fri Apr 13 03:26:26 2018 +0000

----------------------------------------------------------------------
 docs/topics/impala_string_functions.xml | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/impala/blob/4510512c/docs/topics/impala_string_functions.xml
----------------------------------------------------------------------
diff --git a/docs/topics/impala_string_functions.xml b/docs/topics/impala_string_functions.xml
index fe08c8e..9ee2665 100644
--- a/docs/topics/impala_string_functions.xml
+++ b/docs/topics/impala_string_functions.xml
@@ -650,12 +650,14 @@ select instr('foo bar bletch', 'b', 1, null);
       <dlentry id="ltrim">
 
         <dt>
-          <codeph>ltrim(string a)</codeph>
+          <codeph>ltrim(string a [, string chars_to_trim])</codeph>
         </dt>
 
         <dd>
           <indexterm audience="hidden">ltrim() function</indexterm>
-          <b>Purpose:</b> Returns the argument string with any leading spaces removed from the left side.
+          <b>Purpose:</b> Returns the argument string with all occurrences
+          of characters specified by the second argument removed from
+          the left side. Removes spaces if the second argument is not specified.
           <p>
             <b>Return type:</b> <codeph>string</codeph>
           </p>
@@ -1039,12 +1041,14 @@ select replace('hello world','xyz','abc');
       <dlentry id="rtrim">
 
         <dt>
-          <codeph>rtrim(string a)</codeph>
+          <codeph>rtrim(string a [, string chars_to_trim])</codeph>
         </dt>
 
         <dd>
           <indexterm audience="hidden">rtrim() function</indexterm>
-          <b>Purpose:</b> Returns the argument string with any trailing spaces removed from the right side.
+          <b>Purpose:</b> Returns the argument string with all occurrences
+          of characters specified by the second argument removed from
+          the right side. Removes spaces if the second argument is not specified.
           <p>
             <b>Return type:</b> <codeph>string</codeph>
           </p>