You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Daniel Klinger <dk...@web-computing.de> on 2016/02/24 13:41:37 UTC

DML in HIVE using the Java API

I'm writing an JAVA-Application whitch does DDL and DML in Hive tables. For
DDL is use the Hive-Class org.apache.hadoop.hive.ql.metadata.Hive which is
puplic since Version 1.0. It's perfect for DDL and i think faster than JDBC
and other options.

But i couldn't find out how to do DML in JAVA (partitioned and unpartitioned
tables). Unfortunatly this Java-API is pretty bad Documented and I couldn't
find any example code. How can I do DML without using APIs like JDBC? 

Greeting 

Daniel


Re: DML in HIVE using the Java API

Posted by Mich Talebzadeh <mi...@cloudtechnologypartners.co.uk>.
 

Hi, 

How about using sql in beeline? 

On 24/02/2016 12:41, Daniel Klinger wrote: 

> I'm writing an JAVA-Application whitch does DDL and DML in Hive tables. For DDL is use the Hive-Class org.apache.hadoop.hive.ql.metadata.Hive which is puplic since Version 1.0. It's perfect for DDL and i think faster than JDBC and other options. 
> 
> But i couldn't find out how to do DML in JAVA (partitioned and unpartitioned tables). Unfortunatly this Java-API is pretty bad Documented and I couldn't find any example code. How can I do DML without using APIs like JDBC? 
> 
> Greeting 
> 
> Daniel

-- 

Dr Mich Talebzadeh

LinkedIn
https://www.linkedin.com/profile/view?id=AAEAAAAWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw

http://talebzadehmich.wordpress.com

NOTE: The information in this email is proprietary and confidential.
This message is for the designated recipient only, if you are not the
intended recipient, you should destroy it immediately. Any information
in this message shall not be understood as given or endorsed by Cloud
Technology Partners Ltd, its subsidiaries or their employees, unless
expressly so stated. It is the responsibility of the recipient to ensure
that this email is virus free, therefore neither Cloud Technology
partners Ltd, its subsidiaries nor their employees accept any
responsibility.