HiveUber: Hive Uber DBI wrapper

Description Usage Arguments Details See Also Examples

Description

Hive Uber DBI wrapper

Authentication credentials are can be specified inside the url, or kerberos can be used.

Usage

1
2
3
4
HiveUber()

## S4 method for signature 'HiveUberDriver'
dbConnect(drv, url, ...)

Arguments

drv

An object created by HiveUber()

url

the jdbc connection url

...

Other options

Details

The hiveuber.subjectcreds option sets a JVM flag necessary for kerberos authentication. See zzz.R for details.

See Also

Hive Wiki for more connections options.

Examples

1
2
3
4
5
6
7
## Not run: 
require(DBI)
con <- dbConnect(HiveUber(), url="jdbc:hive2://host:port/schema")
dbListTables(con)
dbGetQuery(con, "Select count(*) from nfultz.iris")

## End(Not run)

nfultz/hiveuberjar documentation built on May 18, 2019, 3:43 p.m.