tom.norden
7/24/2014 - 3:33 PM

rbhive example

rbhive example

require 'rbhive'

RBHive.tcli_connect('localhost', 10_000, {:hive_version => 13, :timeout => 30}) do |connection|
  connection.fetch('select 1=1')
end