Support for Sequel to access the Impala database
Ruby Shell
Clone or download
Pull request Compare This branch is 214 commits ahead, 2 commits behind jeremyevans:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.travis.sh
.travis.yml
CHANGELOG.md
Gemfile
LICENSE
README.md
Rakefile
sequel_impala.gemspec

README.md

sequel_impala

sequel_impala adds support for Sequel to connect to the Impala database via the included impala driver, and the included jdbc-hive2 driver under JRuby.

Source Code

Source code is available on GitHub at https://github.com/outcomesinsights/sequel_impala

Usage

After installation, Sequel will automatically pick up the adapter as long as the lib directory is in RUBYLIB, if you use a connection string starting with impala, or jdbc:hive2 on JRuby.

Connection Strings

If using the impala driver (default host is localhost, default port is 21000):

impala://host:port

If using the jdbc:hive2 driver on JRuby (port 21050 works in testing):

jdbc:hive2://host:port/;auth=noSasl

Dependencies

  • sequel 4+
  • thrift gem

License

MIT/Apache

Author

Ryan Duryea aguynamedryan@gmail.com

Work on sequel_impala is generously funded by Outcomes Insights, Inc.

Previous Author

Jeremy Evans code@jeremyevans.net

Provided initial work on this gem, and continues to maintain Sequel. We can't thank you enough!