drop_global_temp_view: Temporary View

Description Usage Arguments Value See Also Examples

View source: R/tempview.R

Description

Usage

1
2
3

Arguments

sc

A spark_connection.

view

character(1). The name of the temporary view to be dropped.

Value

A logical(1) vector indicating whether the temporary view was dropped (TRUE) or not (FALSE).

See Also

list_tables()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
sc <- sparklyr::spark_connect(master = "local")
mtcars_spark <- sparklyr::copy_to(dest = sc, df = mtcars)

# We can check which temporary tables are in scope
list_tables(sc = sc)

# And then drop those we wish to drop
drop_temp_view(sc = sc, view = "mtcars")

## End(Not run)

catalog documentation built on March 20, 2021, 5:06 p.m.