tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keuntae Park (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (TAJO-359) Implement lpad function
Date Tue, 03 Dec 2013 15:16:37 GMT

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

Keuntae Park edited comment on TAJO-359 at 12/3/13 3:16 PM:
------------------------------------------------------------

However, it looks that org.apache.commons-lang.StringUtils::leftPad() works differently from
lpad() specified in http://www.postgresql.org/docs/9.1/static/functions-string.html
When the string is longer than the given length, lpad() truncates the string but org.apache.commons-lang.StringUtils::leftPad()
just returns the string (http://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/StringUtils.html#leftPad(java.lang.String,%20int,%20java.lang.String).



was (Author: sirpkt):
However, it looks that org.apache.commons-lang.StringUtils::leftPad() works differently from
lpad() specified in http://www.postgresql.org/docs/9.1/static/functions-string.html
When the string is longer than the given length, lpad() truncates the string but org.apache.commons-lang.StringUtils::leftPad()
just return the string (http://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/StringUtils.html#leftPad(java.lang.String,%20int,%20java.lang.String).


> Implement lpad function
> -----------------------
>
>                 Key: TAJO-359
>                 URL: https://issues.apache.org/jira/browse/TAJO-359
>             Project: Tajo
>          Issue Type: New Feature
>            Reporter: Seungun Choe
>            Assignee: Seungun Choe
>            Priority: Minor
>         Attachments: TAJO-359.patch, TAJO-359_1.patch, TAJO-359_2.patch, TAJO-359_3.patch
>
>
> I'd like to lmplement this function.
> Plz assign to me :)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message