get_input_func: Get an input function for a table

View source: R/bm-tpc-h.R

get_input_funcR Documentation

Get an input function for a table

Description

This returns a function which will return a table reference with the specified parameters

Usage

get_input_func(
  engine,
  scale_factor,
  query_id,
  format,
  compression = "uncompressed",
  con = NULL,
  memory_map = FALSE,
  chunk_size = NULL
)

Arguments

engine

which engine to use

scale_factor

what scale factor to reference

query_id

which query is being used

format

which format

compression

which compression to use (default: "uncompressed")

con

a connection

memory_map

should the file be memory mapped? (only relevant for the "native" format with Arrow)

chunk_size

what chunk_size should be used with the source files? (default: NULL, the default for the file format)


ursa-labs/arrowbench documentation built on July 8, 2023, 11:36 a.m.