You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "Jihoon Son (JIRA)" <ji...@apache.org> on 2013/11/27 07:22:38 UTC
[jira] [Commented] (TAJO-308) Implement length(string) function
[ https://issues.apache.org/jira/browse/TAJO-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13833510#comment-13833510 ]
Jihoon Son commented on TAJO-308:
---------------------------------
This patch looks good to me, but I want to suggest a thing.
When the input datum is NullDatum, how about return a zero instead of NullDatum?
> 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
>
>
> 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)