carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "He Xiaoqiao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CARBONDATA-361) SMALL INT data showing unsupported datatype
Date Wed, 02 Nov 2016 15:24:58 GMT

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

He Xiaoqiao commented on CARBONDATA-361:
----------------------------------------

[~pkofficial]
Carbon does not support SMALLINT currently. Pls ref. DataType.java which is defined data types
support now. 
I think you could use SHORT to replace SMALLINT. FYI.

> SMALL INT data showing unsupported datatype
> -------------------------------------------
>
>                 Key: CARBONDATA-361
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-361
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Prabhat Kashyap
>
> When I tried executing the following query with SMALLINT datatype
> create table testTable2(id SMALLINT, name String) stored by 'carbondata' ;
> It is giving me following exception.
> Error: org.apache.carbondata.spark.exception.MalformedCarbonCommandException: Unsupported
data type : FieldSchema(name:id, type:smallint, comment:null).getType (state=,code=0)



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

Mime
View raw message