tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hyunsik Choi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TAJO-352) Implement right/left(text, size) function
Date Mon, 02 Dec 2013 05:14:35 GMT

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

Hyunsik Choi updated TAJO-352:
------------------------------

    Attachment: TAJO-352_2.patch

I've attached the updated patch. This patch does as follows:
 * Enabled SQLParser to recognize left/right function names.
 * Renamed from_left/from_right to left/right
 * Added null handling code to left and right functions
 * Added more unit tests for null handling

> Implement right/left(text, size) function
> -----------------------------------------
>
>                 Key: TAJO-352
>                 URL: https://issues.apache.org/jira/browse/TAJO-352
>             Project: Tajo
>          Issue Type: Sub-task
>          Components: operator/function/udf
>            Reporter: DaeMyung Kang
>            Assignee: DaeMyung Kang
>            Priority: Minor
>             Fix For: 0.8-incubating
>
>         Attachments: TAJO-352.patch, TAJO-352_2.patch
>
>
> left('abcdef', 1) ===> a
> left('abcdef', 2) ===> ab
> right('abcdef', 1) ===> f
> right('abcdef', 2) ===> ef



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

Mime
View raw message