SparkExecution
Inspect result.root_run.spark_executions for actions observed during
collection, their source locations, and available executed query plans.
Snapshot one observed action and its available executed query plans.
| Attributes |
Unique identifier used by action views and source references. Observed Spark action or query name.
location : SourceLocation | None Exact project line that triggered the action, when available.
stats : SparkExecutionStats Available action duration and cumulative executor measurements.
operators : list[SparkOperator] Observed physical operator trees, preferring the final AQE plan. Executed physical plan text, or None when unavailable. Initial physical plan text before AQE, when exposed by Spark. Optimized logical plan text, or None when unavailable. Parsed logical plan text, or None when unavailable. Analyzed logical plan text, or None when unavailable. Available stage summaries and task metric distributions. Spark job identifiers associated with this action.
status : str | RunStatus Action outcome normalized to RunStatus at construction. Diagnostics explaining unavailable or partial action metadata. Collection context and plan availability diagnostics. |
See Also