Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limitation to send commands (create/drop table, select...) for different databases #35

Open
barata opened this issue Jun 18, 2015 · 1 comment

Comments

@barata
Copy link

barata commented Jun 18, 2015

I was looking into your code and found out that you don't support to execute commands in different databases without a "USE [dbname]". If we don't set one, Hive will assume 'default' database. It is kind of ugly to require users to send a 'use [dbname]' every time s/he open a connection to HiveServer in a different database. It would be nice to have something like:

RBHive.tcli_connect('hive.server.address', 10_000, 'dbname') do |connection|
  connection.fetch('SHOW TABLES')
end

Please let me know if you want me to make a PR.

@jyothu
Copy link

jyothu commented Jun 28, 2017

Is this implemented ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants