andygrove commented on code in PR #2830:
URL: https://github.com/apache/arrow-datafusion/pull/2830#discussion_r914281738


##########
datafusion/proto/src/logical_plan.rs:
##########
@@ -515,11 +515,16 @@ impl AsLogicalPlan for LogicalPlanNode {
                     "Protobuf deserialization error, CreateViewNode has 
invalid LogicalPlan input.",
                 )))?
                     .try_into_logical_plan(ctx, extension_codec)?;
+                let create_statement = match 
create_view.create_statement.is_empty() {

Review Comment:
   nit: matching on a `bool` could be simplified to `if`/`else`



-- 
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