Login  Register

Re: List the supported datatypes in carbondata

Posted by Pallavi Singh on Nov 02, 2016; 7:07am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/List-the-supported-datatypes-in-carbondata-tp2419p2510.html

As per the previous conversation reply :
Following are the supported datatypes in carbon.
string,int,
integer,tinyint,short,long,bigint,numeric,double,decimal,
timestamp,array,struct.

Could you please clarify if both int and Integer should be supported ?

Using Integer datatype is giving me following error

0: jdbc:hive2://localhost:10000> create table emp(id Integer, name String)
stored by 'carbondata';
Error: org.apache.spark.sql.AnalysisException: cannot recognize input near
'Integer' ',' 'name' in column type; line 1 pos 20 (state=,code=0)

On Sat, Oct 29, 2016 at 7:11 AM, Ravindra Pesala <[hidden email]>
wrote:

> Hi,
>
> Following are the supported datatypes in carbon.
> string,int,
> integer,tinyint,short,long,bigint,numeric,double,decimal,
> timestamp,array,struct.
>
> Regards,
> Ravi
>
> On 28 October 2016 at 11:49, Swati <[hidden email]> wrote:
>
> > Hi,
> >
> > I would like to know about the datatypes which are supported by
> carbondata
> > as I am getting this error *"MalformedCarbonCommandException:
> Unsupported
> > data type"* while running the queries against these datatypes :*" tiny
> Int,
> > smallInt, float, date, varchar, char, boolean, binary, Map, Union "*.
> Also
> > there is no information available in the documentation about supported
> > datatypes.
> >
> >
> >
> > --
> > View this message in context: http://apache-carbondata-
> > mailing-list-archive.1130556.n5.nabble.com/List-the-
> > supported-datatypes-in-carbondata-tp2419.html
> > Sent from the Apache CarbonData Mailing List archive mailing list archive
> > at Nabble.com.
> >
>
>
>
> --
> Thanks & Regards,
> Ravi
>



--
Regards | Pallavi Singh
Software Consultant
Knoldus Software LLP
[hidden email]
+91-9911235949