daft.DataFrame.explain

daft.DataFrame.explain#

DataFrame.explain(show_all: bool = False, simple: bool = False) None[source]#

Prints the (logical and physical) plans that will be executed to produce this DataFrame. Defaults to showing the unoptimized logical plan. Use show_all=True to show the unoptimized logical plan, the optimized logical plan, and the physical plan.

Parameters:
  • show_all (bool) – Whether to show the optimized logical plan and the physical plan in addition to the unoptimized logical plan.

  • simple (bool) – Whether to only show the type of op for each node in the plan, rather than showing details of how each op is configured.