Hive Java Client Example for HiveServer

Hive JDBC Client Example 6

In this post, we will discuss about one of common hive clients, JDBC client for both HiveServer1¬†(Thrift Server) and HiveServer2. Use of HiveServer2 is recommended as¬†HiveServer1 has several concurrency issues and lacks some features available in HiveServer2. JDBC Data Types The following table lists the data types implemented for HiveServer/HiveServer2 JDBC. Hive Type Java Type Specification TINYINT byte signed or unsigned 1-byte integer SMALLINT short signed 2-byte integer INT int […]