tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jihoon Son (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAJO-308) Implement length(string) function
Date Wed, 27 Nov 2013 17:24:35 GMT

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

Jihoon Son commented on TAJO-308:
---------------------------------

Thanks for your comment, Hyunsik.
The above comment was just my suggestion.
I think that both ways are reasonable, but it will be better to return NULL when an input
is null to maintain the compatibility of other string functions.
So, I'm sorry to tell hyounjun, the first patch looks good for this issue.

> Implement length(string) function
> ---------------------------------
>
>                 Key: TAJO-308
>                 URL: https://issues.apache.org/jira/browse/TAJO-308
>             Project: Tajo
>          Issue Type: Improvement
>          Components: operator/function/udf
>            Reporter: Hyunsik Choi
>            Assignee: hyoungjunkim
>            Priority: Minor
>              Labels: newbie
>         Attachments: TAJO-308.patch, TAJO-308_1.patch
>
>
> length(string) function returns the number of characters in string.
> {code}
> int length(string)
> {code}



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

Mime
View raw message