Registry / database / beltran-gohive

beltran-gohive

JSON →
library1.8.1gogounverified

Package gohive is a Go driver for Apache Hive, enabling SQL queries on Hive via the HiveServer2 protocol.

go get github.com/beltran/gohive
INSTALL
IMPORT
SIG · BELTRAN-GOHIVE
B
beltran-gohive
databasegov1.8.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gohive
github.com/beltran/gohive

Connect to Hive and execute a simple query.

package main import ( "fmt" "github.com/beltran/gohive" ) func main() { connection, _ := gohive.Connect("host", 10000, gohive.DefaultOptions) cursor := connection.Cursor() cursor.Exec("SELECT 1") var result int cursor.Scan(&result) fmt.Println(result) }
Debug
Known issues
gotchaConnection options may require SASL configuration for secure clusters.
fix
Use gohive.WithSasl() or configure authentication options in gohive.DefaultOptions.
affects: >=1.0.0
Upgrade
Version history
1.8.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
10
Amazon
1
OpenAI (training)
1
Resources
beltran-gohive — go get beltran-gohive · libregistry