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] [Commented] (TAJO-361) Implement rpad function
Date Tue, 03 Dec 2013 10:32:42 GMT

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

Keuntae Park commented on TAJO-361:
-----------------------------------

Actually, in rpad(string text, length int [, fill text]), 
'length' value can be smaller than the length of 'string'.
In that case, rpad should truncate the 'string'.
For example, rpad('hi there', 3) should return 'hi '.
But, this patch does not account for that case.

And, when 'fill' is not specified, space character should be used as default value.

I think you need to consider above two points.

> Implement rpad function
> -----------------------
>
>                 Key: TAJO-361
>                 URL: https://issues.apache.org/jira/browse/TAJO-361
>             Project: Tajo
>          Issue Type: New Feature
>            Reporter: Seungun Choe
>            Assignee: Seungun Choe
>            Priority: Minor
>         Attachments: TAJO-361.patch, TAJO-361_1.patch, TAJO-361_2.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