imjuni / jshs2

jsHS2 is a node.js client driver for hive server 2
http://imjuni.github.io/jshs2/
MIT License
34 stars 12 forks source link

getLog problem solve #1

Closed imjuni closed 9 years ago

imjuni commented 9 years ago

Previous version of Hive, (In 0.12.x or under version) that only CDH hive have a getLog function.

So, jshs2 are to detect exists getLog function using by hiveType.

Recently version of Hive, (In 1.0.0 or higher version) that have alternative method FetchResults. That is change option fetchType 0 to 1, have same effect getLog.

jshs2 will changed,

maybe hive version is higher 1.0.0, that change getLog using FetchResult and fetchType.

imjuni commented 9 years ago

It resolved version 0.2.7