(
&self,
node: &dyn UserDefinedLogicalNode,
unparser: &Unparser,
)
| 2254 | |
| 2255 | impl UserDefinedLogicalNodeUnparser for MockStatementUnparser { |
| 2256 | fn unparse_to_statement( |
| 2257 | &self, |
| 2258 | node: &dyn UserDefinedLogicalNode, |
| 2259 | unparser: &Unparser, |
| 2260 | ) -> Result<UnparseToStatementResult> { |
| 2261 | if let Some(plan) = node.as_any().downcast_ref::<MockUserDefinedLogicalPlan>() { |
| 2262 | let input = unparser.plan_to_sql(&plan.input)?; |
| 2263 | Ok(UnparseToStatementResult::Modified(input)) |
| 2264 | } else { |
| 2265 | Ok(UnparseToStatementResult::Unmodified) |
| 2266 | } |
| 2267 | } |
| 2268 | } |
| 2269 | |
| 2270 | struct UnusedUnparser {} |
nothing calls this directly
no test coverage detected