You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "Keuntae Park (JIRA)" <ji...@apache.org> on 2013/11/27 03:36:36 UTC

[jira] [Created] (TAJO-335) cast() does not work properly

Keuntae Park created TAJO-335:
---------------------------------

             Summary: cast() does not work properly
                 Key: TAJO-335
                 URL: https://issues.apache.org/jira/browse/TAJO-335
             Project: Tajo
          Issue Type: Bug
            Reporter: Keuntae Park


Cast() does not work properly as follows:

{noformat}
tajo>  select cast (1 as text);
Unknown logical node type: EXPRS
tajo>  select cast ('1' as int2);
Unknown logical node type: EXPRS
{noformat}

{noformat}
tajo> \d table1;

table name: table1
table path: /tajo/table10
store type: CSV
number of rows: 0
volume: 60 B
Options: 
        'csvfile.delimiter'='|'

schema: 
id      INT4
name    TEXT
score   FLOAT4
type    TEXT

tajo> select cast(id as text) from table1;
Unknown EvalNode: CAST (table1.id (INT4(0)) AS TEXT)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.1#6144)