[ https://issues.apache.org/jira/browse/HIVE-15979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15931589#comment-15931589 ]
Lefty Leverenz commented on HIVE-15979: --------------------------------------- Doc note: These new functions should be documented, with version information, in the UDF wikidoc. * [Hive Operators and UDFs -- String Functions | https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-StringFunctions] Added a TODOC2.2 label. > Support character_length and octet_length > ----------------------------------------- > > Key: HIVE-15979 > URL: https://issues.apache.org/jira/browse/HIVE-15979 > Project: Hive > Issue Type: Sub-task > Components: SQL > Reporter: Carter Shanklin > Assignee: Teddy Choi > Labels: TODOC2.2 > Fix For: 2.2.0 > > Attachments: HIVE-15979.1.patch, HIVE-15979.2.patch, > HIVE-15979.3.patch, HIVE-15979.4.patch, HIVE-15979.5.patch, > HIVE-15979.6.patch, HIVE-15979.7.patch > > > SQL defines standard ways to get number of characters and octets. SQL > reference: section 6.28. Example: > vagrant=# select character_length('欲速则不达'); > character_length > ------------------ > 5 > (1 row) > vagrant=# select octet_length('欲速则不达'); > octet_length > -------------- > 15 > (1 row) -- This message was sent by Atlassian JIRA (v6.3.15#6346)