hive_query: Execute a Hive query

Description Usage Arguments

View source: R/hive-query.R

Description

hive_query executes a SQL query on a Hive database and pulls down the result to a local data frame.

Usage

1
2
hive_query(hive_con, query, clean_names = TRUE, batch = 1e+05,
  update_every = 1, max_rows = Inf, quiet = FALSE)

Arguments

hive_con

A JDBCConnection object created by hive_connect

query

A string of the SQL query to run

clean_names

Whether to remove database and table name from column names

batch

Number of rows to fetch in each batch

update_every

How often to print progress updates (after what number of batches)

max_rows

The maximum number of rows to fetch from the result

quiet

Whether or not to print progress updates


ZurichPA/orpheus documentation built on Aug. 29, 2020, 6:56 p.m.