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

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

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

Hyunsik Choi updated TAJO-335:
------------------------------

    Priority:     (was: Major)

> 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
>            Assignee: Hyunsik Choi
>
> 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)