Skip to content

Get optimization settings

Source code

Description

Get the current optimization toggles for the lazy query

Usage

<LazyFrame>$get_optimization_toggle()

Value

List of optimization toggles

Examples

library(polars)

pl$LazyFrame(mtcars)$get_optimization_toggle()
#> $type_coercion
#> [1] TRUE
#> 
#> $predicate_pushdown
#> [1] TRUE
#> 
#> $projection_pushdown
#> [1] TRUE
#> 
#> $simplify_expression
#> [1] TRUE
#> 
#> $slice_pushdown
#> [1] TRUE
#> 
#> $comm_subplan_elim
#> [1] TRUE
#> 
#> $comm_subexpr_elim
#> [1] TRUE
#> 
#> $streaming
#> [1] FALSE
#> 
#> $eager
#> [1] FALSE