rquery_prepare {vtreat}R Documentation

Materialize a treated data frame remotely.

Description

Materialize a treated data frame remotely.

Usage

rquery_prepare(
  db,
  rqplan,
  data_source,
  result_table_name,
  ...,
  extracols = NULL,
  temporary = FALSE,
  overwrite = TRUE,
  attempt_nan_inf_mapping = FALSE,
  col_sample = NULL,
  return_ops = FALSE
)

materialize_treated(
  db,
  rqplan,
  data_source,
  result_table_name,
  ...,
  extracols = NULL,
  temporary = FALSE,
  overwrite = TRUE,
  attempt_nan_inf_mapping = FALSE,
  col_sample = NULL,
  return_ops = FALSE
)

Arguments

db

a db handle.

rqplan

an query plan produced by as_rquery_plan().

data_source

relop, data source (usually a relop_table_source).

result_table_name

character, table name to land result in

...

force later arguments to bind by name.

extracols

extra columns to copy.

temporary

logical, if TRUE try to make result temporary.

overwrite

logical, if TRUE try to overwrite result.

attempt_nan_inf_mapping

logical, if TRUE attempt to map NaN and Infnity to NA/NULL (goot on PostgreSQL, not on Spark).

col_sample

sample of data to determine column types.

return_ops

logical, if TRUE return operator tree instead of materializing.

Value

description of treated table.

Functions

See Also

as_rquery_plan, rqdatatable_prepare


[Package vtreat version 1.6.5 Index]