tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keuntae Park (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TAJO-335) cast() does not work properly
Date Wed, 27 Nov 2013 02:36:36 GMT
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)

Mime
View raw message