[
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)