alamb commented on code in PR #8100:
URL: https://github.com/apache/arrow-datafusion/pull/8100#discussion_r1388362914


##########
datafusion/proto/src/logical_plan/from_proto.rs:
##########
@@ -1645,6 +1646,13 @@ pub fn parse_expr(
                 )),
                 ScalarFunction::Isnan => Ok(isnan(parse_expr(&args[0], 
registry)?)),
                 ScalarFunction::Iszero => Ok(iszero(parse_expr(&args[0], 
registry)?)),
+                ScalarFunction::ArrowTypeof => {
+                    Ok(arrow_typeof(parse_expr(&args[0], registry)?))
+                }
+                ScalarFunction::ToTimestamp => {
+                    Ok(to_timestamp_seconds(parse_expr(&args[0], registry)?))
+                }
+                ScalarFunction::Flatten => Ok(flatten(parse_expr(&args[0], 
registry)?)),
                 _ => Err(proto_error(
                     "Protobuf deserialization error: Unsupported scalar 
function",
                 )),

Review Comment:
   Can you please remove this catch all clause so the compiler will ensure all 
enum variants are covered?
   
   ```suggestion
   ```



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