New Member
Posts: 1
Registered: ‎10-17-2013

hive datatypes vs java datatypes



I'm rather new in hive. With a background in BI the sql part is rather easy, but I'm still struggling with the java side. One thing I'm losing a lot of time on are the objecttypes we need to use in an UDF for certain hive datatypes (using GenericUdf). 

I'm looking for a conversion table that maps hive datatypes to javadatatypes. Anyone has a link to something like this?



Cloudera Employee
Posts: 888
Registered: ‎07-31-2013

Re: hive datatypes vs java datatypes

The best reference to internal Java data types to use in UDFs would be to look at the SerDe mapping source:

Customer Operations Engineer | Cloudera, Inc. |