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

ASF GitHub Bot commented on TAJO-1485:
--------------------------------------

GitHub user charsyam opened a pull request:

    https://github.com/apache/tajo/pull/503

    TAJO-1485 Datum 'Char' returned only 1byte.

    It is because of Tajo-Client's encoding and decoding problem.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/charsyam/tajo feature/TAJO-1485

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/503.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #503
    
----
commit b1e6aecfc88e38ffebd92881e1a932a56fb66b4c
Author: clark.kang <[email protected]>
Date:   2015-04-03T04:58:38Z

    TAJO-1485

----


> 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: Seungun Choe
>            Priority: Minor
>
> 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)

Reply via email to