[jira] [Commented] (CARBONDATA-361) SMALL INT data showing unsupported datatype

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (CARBONDATA-361) SMALL INT data showing unsupported datatype

Akash R Nilugal (Jira)

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

Prabhat Kashyap commented on CARBONDATA-361:
--------------------------------------------

Hi [~hexiaoqiao]
Even SHORT Data type is not working and it is giving me "org.apache.spark.sql.AnalysisException"

Query: create table testTable(id INT, age SHORT, name STRING) stored by 'carbondata';

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