viirya commented on a change in pull request #1266:
URL: https://github.com/apache/arrow-datafusion/pull/1266#discussion_r744940176



##########
File path: datafusion/src/logical_plan/plan.rs
##########
@@ -274,6 +283,7 @@ impl LogicalPlan {
             LogicalPlan::Extension { node } => node.schema(),
             LogicalPlan::Union { schema, .. } => schema,
             LogicalPlan::CreateMemoryTable { input, .. } => input.schema(),
+            LogicalPlan::DropTable { schema, .. } => schema,

Review comment:
       I tried creating an empty schema before, but `schema` returns 
`&DFSchemaRef`, so rustc complains about a reference to dropped temporary 
object.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to