tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Seungun Choe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAJO-359) Implement lpad function
Date Wed, 04 Dec 2013 00:59:35 GMT

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

Seungun Choe commented on TAJO-359:
-----------------------------------

In PostgreSQL, select lpad('test', 3, '1'); result is tes;
but using StringUtils.leftPad() case, there is different result.
     - testSimpleEval("select LPAD('hello', 3, 'xy') ", new String[]{"hel"});
      --> org.junit.ComparisonFailure: select LPAD('hello', 3, 'xy')  
      --> Expected :hel
      --> Actual   :hello

plz, check this issue.

> 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