[ 
https://issues.apache.org/jira/browse/CALCITE-6487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Grein updated CALCITE-6487:
-------------------------------
    Description: 
The docs for 'TRIM' state the following:

"Removes the longest string containing only the characters in _string1_ from 
the start/end/both ends of _string1."_

 

It should be the following to be accurate (changed last word from _string1_ to 
{_}string2{_}):

"Removes the longest string containing only the characters in _string1_ from 
the start/end/both ends of _string2."_

  was:
The docs for 'TRIM' state the following:

"Removes the longest string containing only the characters in _string1_ from 
the start/end/both ends of _string1."_

I think it should be the following to be accurate (changed last word from 
_string1_ to {_}string2{_}):

"Removes the longest string containing only the characters in _string1_ from 
the start/end/both ends of _string2."_


> TRIM function documentation refers to string1 two times
> -------------------------------------------------------
>
>                 Key: CALCITE-6487
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6487
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.37.0
>            Reporter: Tim Grein
>            Assignee: Tim Grein
>            Priority: Trivial
>              Labels: newbie
>
> The docs for 'TRIM' state the following:
> "Removes the longest string containing only the characters in _string1_ from 
> the start/end/both ends of _string1."_
>  
> It should be the following to be accurate (changed last word from _string1_ 
> to {_}string2{_}):
> "Removes the longest string containing only the characters in _string1_ from 
> the start/end/both ends of _string2."_



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to