| 3256 | /// [the documentation]: https://datafusion.apache.org/user-guide/sql/explain.html |
| 3257 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] |
| 3258 | pub struct Explain { |
| 3259 | /// Should extra (detailed, intermediate plans) be included? |
| 3260 | pub verbose: bool, |
| 3261 | /// Output format for explain, if specified. |
| 3262 | /// If none, defaults to `text` |
| 3263 | pub explain_format: ExplainFormat, |
| 3264 | /// The logical plan that is being EXPLAIN'd |
| 3265 | pub plan: Arc<LogicalPlan>, |
| 3266 | /// Represent the various stages plans have gone through |
| 3267 | pub stringified_plans: Vec<StringifiedPlan>, |
| 3268 | /// The output schema of the explain (2 columns of text) |
| 3269 | pub schema: DFSchemaRef, |
| 3270 | /// Used by physical planner to check if should proceed with planning |
| 3271 | pub logical_optimization_succeeded: bool, |
| 3272 | } |
| 3273 | |
| 3274 | // Manual implementation needed because of `schema` field. Comparison excludes this field. |
| 3275 | impl PartialOrd for Explain { |
no outgoing calls
searching dependent graphs…