hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Teddy Choi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-15979) Support character_length and octet_length
Date Thu, 02 Mar 2017 01:23:45 GMT

     [ https://issues.apache.org/jira/browse/HIVE-15979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Teddy Choi updated HIVE-15979:
------------------------------
    Attachment: HIVE-15979.3.patch

> 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
>         Attachments: HIVE-15979.1.patch, HIVE-15979.2.patch, HIVE-15979.3.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)

Mime
View raw message