(
scx: &StatementContext,
statement: ExplainPushdownStatement<Aug>,
)
| 339 | } |
| 340 | |
| 341 | pub fn describe_explain_pushdown( |
| 342 | scx: &StatementContext, |
| 343 | statement: ExplainPushdownStatement<Aug>, |
| 344 | ) -> Result<StatementDesc, PlanError> { |
| 345 | let relation_desc = RelationDesc::builder() |
| 346 | .with_column("Source", SqlScalarType::String.nullable(false)) |
| 347 | .with_column("Total Bytes", SqlScalarType::UInt64.nullable(false)) |
| 348 | .with_column("Selected Bytes", SqlScalarType::UInt64.nullable(false)) |
| 349 | .with_column("Total Parts", SqlScalarType::UInt64.nullable(false)) |
| 350 | .with_column("Selected Parts", SqlScalarType::UInt64.nullable(false)) |
| 351 | .finish(); |
| 352 | |
| 353 | Ok( |
| 354 | StatementDesc::new(Some(relation_desc)).with_params(match statement.explainee { |
| 355 | Explainee::Select(select, _) => describe_select(scx, *select)?.param_types, |
| 356 | _ => vec![], |
| 357 | }), |
| 358 | ) |
| 359 | } |
| 360 | |
| 361 | pub fn describe_explain_analyze_object( |
| 362 | _scx: &StatementContext, |
no test coverage detected