This is a function which gives more details about the logical query planthat will be executed when evaluating anarrow_dplyr_query object.It calls the C++ExecPlan object's print method.Functionally, it is similar todplyr::explain(). This function is used asthedplyr::explain() anddplyr::show_query() methods.
Examples
library(dplyr)mtcars|>arrow_table()|>filter(mpg>20)|>mutate(x=gear/carb)|>show_exec_plan()#> ExecPlan with 4 nodes:#> 3:SinkNode{}#> 2:ProjectNode{projection=[mpg, cyl, disp, hp, drat, wt, qsec, vs, am, gear, carb, "x": divide(cast(gear, {to_type=double, allow_int_overflow=false, allow_time_truncate=false, allow_time_overflow=false, allow_decimal_truncate=false, allow_float_truncate=false, allow_invalid_utf8=false}), cast(carb, {to_type=double, allow_int_overflow=false, allow_time_truncate=false, allow_time_overflow=false, allow_decimal_truncate=false, allow_float_truncate=false, allow_invalid_utf8=false}))]}#> 1:FilterNode{filter=(mpg > 20)}#> 0:TableSourceNode{}