compute: Compute a Hive table

Description Usage Arguments Details Value

Description

compute forces computation of a Hive table, saving the result in a Hive database.

Usage

1
2
3
## S3 method for class 'tbl_Hive'
compute(x, name = dplyr:::random_table_name(),
  temporary = TRUE, ..., overwrite = FALSE)

Arguments

x

A tbl_Hive object

name

The name of the Hive table to create

temporary

Whether to create a temporary or permanent table

overwrite

Whether to overwrite an existing table with the same name if one exists in the Hive database

Details

By default, a temporary table in the Hive database will be created, unless you specify that it should be a permanent table.

As a general rule, it is good practice to call compute after every few steps. Doing so helps make troubleshooting easier, as you don't need to wade through deeply nested statements to figure out what is going on, making it simpler to track down the point at something is going awry.

Value

A tbl_Hive object pointing to the resulting table


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