Forces computation of a lazy view or dataframe and stores the result as a
materialized table in SedonaDB memory (Apache Arrow MemTable).
This is useful for caching intermediate results to speed up subsequent queries.
Arguments
- x
A
sedonadb_dataframe,sfobject, or view name (character) in SedonaDB to materialize.. Can be a view name (character) orsedonadb_dataframe.- name
Character. The name to register the table as. If
NULL(default), a unique name is generated.- overwrite
Logical. If
TRUE, overwrites any existing view with the same name. Default isFALSE.- verbosity
Character or NULL. Controls message output for this function call.
"quiet": Suppress all informational messages."info": Show standard progress and status messages."debug": Show additional diagnostic messages for troubleshooting.
If NULL (the default), uses the global
sx.verbosityoption. Seesx_options()for persistent configuration.
Examples
if (FALSE) { # \dontrun{
# 1. Define a lazy operation
lazy_df <- sx_buffer("input_view", 10)
# 2. Materialize it into memory as 'buffered_table'
sx_create_table(lazy_df, "buffered_table")
} # }
