
Which execution route did the last collect() take?
garry_last_route.RdA diagnostics helper. The distributed collect() picks its execution
route automatically, and this reports the route the last call took,
so pipelines can log it or assert a plan has not changed route.
The values are:
Value
"composite_direct", "gd_reduce", "scheduler", "single"
or "read_only"; NULL before any collect() in the session.
Details
"composite_direct": the specialised masked-composite executor;"gd_reduce": the general reduce-decomposition executor;"scheduler": the general distributed scheduler;"single": the in-process single-threaded executor (distributed = FALSE);"read_only": a plan that only reads and stacks rasters, copied from GDAL straight into the result in either mode.