You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Jihoon Son (JIRA)" <ji...@apache.org> on 2015/05/14 09:46:00 UTC

[jira] [Resolved] (TAJO-1485) Datum 'Char' returned only 1byte.

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

Jihoon Son resolved TAJO-1485.
------------------------------
    Resolution: Pending Closed

Committed master and 0.10.1 branches.

> Datum 'Char' returned only 1byte.
> ---------------------------------
>
>                 Key: TAJO-1485
>                 URL: https://issues.apache.org/jira/browse/TAJO-1485
>             Project: Tajo
>          Issue Type: Bug
>            Reporter: Seungun Choe
>            Assignee: DaeMyung Kang
>            Priority: Minor
>             Fix For: 0.11.0, 0.10.1
>
>
> Even though table's column have long char data, 'Char Datum' only returns 1byte.
> {quote}
> create table test1 (col1 char(5));
> insert into test1 select 'a';
> insert into test1 select 'abc';
> insert into test1 select 'abcde';
> select * from test1;
> col1
> -------------------------------
> a
> a
> a
> (3 rows, 0.151 sec, 6 B selected)
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)