Skip to content

kenshaw/gohive

 
 

Repository files navigation

GoHive: A Go database/sql Driver for Hive

Build Status

To access databases, Go programmers call the standard library database/sql, which relies on drivers to talk to database management systems. GoHive is such a driver that talks to Hive via HiveServer2, a Thrift server.

We found many open source Hive clients in Go. However we cannot find one completely compatible with the database/sql driver interface define in Go's standard library, so we developed our own solution and will continue to maintain and improve this project in the long run.

For Users

GoHive is go-gettable. Please run the following command to install it:

go get sqlflow.org/gohive

sqlflow.org/gohive is a vanity import path of GoHive.

For Developers

Your contribution to GoHive is very welcome! Please refer to this document on how to build and test GoHive in a Docker container.

License

GoHive comes with Apache License 2.0.

Acknowledgement

This implementation is strongly inspired by https://github.com/derekgr/hivething.

About

A Go driver for Hive

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Thrift 46.1%
  • Go 29.9%
  • Shell 12.2%
  • Dockerfile 10.3%
  • HTML 1.5%