[ 
https://issues.apache.org/jira/browse/PIG-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13716571#comment-13716571
 ] 

Cheolsoo Park commented on PIG-3182:
------------------------------------

Thank you Kousuke! I think you made a mistake in your test case:
{code}
Testcase: testRtrim took 0.004 sec 
    FAILED
expected:<[]spaces both> but was:<[    ]spaces both>
junit.framework.AssertionFailedError: expected:<[]spaces both> but was:<[    
]spaces both>
    at org.apache.pig.test.TestStringUDFs.testRtrim(TestStringUDFs.java:179)
{code}
Your assertion in TestStringUDFs#testRtrim is incorrect. Can you please correct 
it?
                
> Pig currently lacks function to trim the whitespace only on the left hand side
> ------------------------------------------------------------------------------
>
>                 Key: PIG-3182
>                 URL: https://issues.apache.org/jira/browse/PIG-3182
>             Project: Pig
>          Issue Type: New Feature
>            Reporter: Padma Ravindran
>            Assignee: Kousuke Saruta
>            Priority: Minor
>              Labels: patch
>             Fix For: 0.12
>
>         Attachments: LTrim.java.patch, PIG-3182.patch, PIG-3182.patch
>
>
> Pig currently lacks function to trim the whitespace only on the left hand 
> side of a given word
> ltrim(' lorem ') = 'lorem '

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to