tbl: Establish a connection to a Hive table

Description Usage Arguments Details

Description

tbl is a method for the generic tbl

Usage

1
2
## S3 method for class 'src_Hive'
tbl(src, from, ...)

Arguments

src

A src_Hive connection object

from

Information to create the table connection (either a string of the table name or a query wrapped in sql)

Details

To create a connection to a Hive table in a database other than the one connected to in src_Hive, simply add the database name when specifying the table name.

In addition to specifying table names in a tbl statement, you can use arbitrary SQL itself to refer to a table. In place of the table name in the tbl statement, simply wrap the desired SQL in a sql call.


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