Closed ankane closed 3 years ago
For future readers, the Spark SQL Thrift server uses SASL by default.
require "rbhive"
RBHive.tcli_connect('localhost', 10000, {transport: :sasl, sasl_params: {}}) do |connection|
p connection.fetch('SHOW TABLES')
end
Hi, thanks for this gem! I'm hoping to use it with the Thrift JDBC/ODBC server that ships with Spark 3 (
./sbin/start-thriftserver.sh
), but I'm getting the following error:Script
I've tried it with all the
hive_version
s, but no luck.