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 <arod...@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>


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

Branch: refs/heads/master
Commit: 257ae0ea0d0a0538fe0acf371127dd5f1304bc72
Parents: f9a476e
Author: Alex Rodoni <arod...@cloudera.com>
Authored: Tue Apr 10 17:00:13 2018 -0700
Committer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Committed: Wed Apr 11 22:02:16 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/257ae0ea/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>

Reply via email to