hive_connect: Connect to a Hive database

Description Usage Arguments Value

View source: R/hive-query.R

Description

hive_connect opens a connection to a Hive database

Usage

1
2
3
4
5
6
hive_connect(db, identifier_quote = "`",
  hive_driver = "org.apache.hive.jdbc.HiveDriver", parameters = "-Xmx2g",
  hadoop_env = list(), default_pars = list(hive.vectorized.execution.enabled
  = "true", hive.vectorized.execution.reduce.enabled = "true",
  hive.resultset.use.unique.column.names = "false", hive.tez.container.size =
  "5120", hive.tez.java.opts = "-Xmx4096m"))

Arguments

db

Name of the Hive database to connect to

identifier_quote

Identifier quote character

hive_driver

Hive driver class

parameters

String of parameters to use in initializing the JVM

hadoop_env

List of Hive parameters to set

default_pars

A list of Hive parameters being set by default

Value

A JDBCConnection object to the Hive database


ZurichPA/orpheus documentation built on May 29, 2017, 6:19 a.m.