Re: Getting error in creating a hive table via java

2015-07-31 Thread Loïc Chanel
The type String doesn't exist in SQL. I think you want to use VARCHAR instead ;-) Regards, Loïc Loïc CHANEL Engineering student at TELECOM Nancy Trainee at Worldline - Villeurbanne 2015-07-31 13:56 GMT+02:00 Sateesh Karuturi sateesh.karutu...@gmail.com: I would like to create a table in hive

Getting error in creating a hive table via java

2015-07-31 Thread Sateesh Karuturi
I would like to create a table in hive using Java. Using the following way to do it: public class HiveCreateTable { private static String driverName = com.facebook.presto.jdbc.PrestoDriver; public static void main(String[] args) throws SQLException { // Register driver and create