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

Hyunsik Choi commented on TAJO-308:
-----------------------------------

I checked the specification of length function. My above comment is wrong. I'm 
sorry for confusing. In the current postgresql, length function returns the 
number of characters regardless of whether string contains multi bytes 
characters or not. 

However, like other string functions, length function should return NULL when 
its input string is NULL. This semantic is the same on almost all SQL functions.

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

Reply via email to