tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DaeMyung Kang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TAJO-352) Implement right/left(text, size) function
Date Sun, 01 Dec 2013 17:09:35 GMT

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

DaeMyung Kang updated TAJO-352:
-------------------------------

    Attachment: TAJO-352.patch

Don't accept this patch. Here is two problems.

1. it is the same problem with substr, Parsing error 
2. when give function name to (left, right), it failed with parse.
 (I might think it is because of reserved keyword(left join or right join).

so. I changed function name left -> from_left, right -> from_right.
Thanks.

> 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
>
>
> 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