You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Vikash Talanki (JIRA)" <ji...@apache.org> on 2016/08/16 23:51:20 UTC
[jira] [Updated] (PHOENIX-3187) Support multi-byte characters for
CHAR datatype
[ https://issues.apache.org/jira/browse/PHOENIX-3187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vikash Talanki updated PHOENIX-3187:
------------------------------------
Description:
Currently, Phoenix CHAR data type supports only single byte characters. We need support for multi byte characters in CHAR datatype.
Case 1: Support multi byte characters in CHAR data type like VARCHAR - CHAR(1) can take any multi-byte character.
Case 2: Support multi byte characters in CHAR data type only if it fits in defined length - CHAR(1) takes only single byte character but CHAR( n ) can take one n-byte character. In other words, the total number of bytes of all characters should not exceed the defined length.
was:
Currently, Phoenix CHAR data type supports only single byte characters. We need support for multi byte characters in CHAR datatype.
Case 1: Support multi byte characters in CHAR data type like VARCHAR - CHAR(1) can take any multi-byte character.
Case 2: Support multi byte characters in CHAR data type only if it fits in defined length - CHAR(1) takes only single byte character but CHAR(n) can take one n-byte character. In other words, the total number of bytes of all characters should not exceed the defined length.
> Support multi-byte characters for CHAR datatype
> -----------------------------------------------
>
> Key: PHOENIX-3187
> URL: https://issues.apache.org/jira/browse/PHOENIX-3187
> Project: Phoenix
> Issue Type: Improvement
> Affects Versions: 4.7.0
> Reporter: Vikash Talanki
> Priority: Minor
>
> Currently, Phoenix CHAR data type supports only single byte characters. We need support for multi byte characters in CHAR datatype.
> Case 1: Support multi byte characters in CHAR data type like VARCHAR - CHAR(1) can take any multi-byte character.
> Case 2: Support multi byte characters in CHAR data type only if it fits in defined length - CHAR(1) takes only single byte character but CHAR( n ) can take one n-byte character. In other words, the total number of bytes of all characters should not exceed the defined length.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)