You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2013/12/02 05:31:35 UTC
[jira] [Commented] (TAJO-352) Implement right/left(text, size)
function
[ https://issues.apache.org/jira/browse/TAJO-352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13836232#comment-13836232 ]
Hyunsik Choi commented on TAJO-352:
-----------------------------------
If the second parameter (i.e., size) is null, the result should be null. Others look great for me.
> 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)