Skip to content

nfultz/hiveuberjar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hiveuberjar

This is an R client to interact with the Apache Hive data warehouse, including wrapper functions around the Hive JDBC Uber Jar.

Installation

CRAN version - Some day this will work

install.packages("hiveuberjar")

Or you can easily install the most recent development version of the R package as well:

devtools::install_github('nfultz/hiveuberjar')

What is it good for?

This provides a simplified DBI driver for Hive:

require(DBI)
con <- dbConnect(hiveuberjar::HiveUber(), url="jdbc://host:port/schema")
dbListTables(con)
dbGetQuery(con, "Select *count(*) from nfultz.iris limit 10")

Installing and loading the JDBC driver package is handled automatically. Authentication via kerberos is also supported.

What if I want to do other cool things with Hive and R?

Most database functionality is actually provided by RJDBC, but if you have Hive-specific features in mind, please open a ticket on the feature request, or even better, submit a pull request :)

It doesn't work here!

Please open an issue here on github.

About

R Wrapper for Hive JDBC Uber Jar

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages