You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "alamb (via GitHub)" <gi...@apache.org> on 2023/06/11 12:24:48 UTC

[GitHub] [arrow-datafusion] alamb commented on a diff in pull request #6624: style: make clippy happy and remove redundant prefix

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


##########
datafusion/expr/src/function.rs:
##########
@@ -185,14 +188,14 @@ pub fn return_type(
                 "The {fun} function can only accept list as the first argument"
             ))),
         },
-        BuiltinScalarFunction::Cardinality => Ok(DataType::UInt64),
-        BuiltinScalarFunction::MakeArray => Ok(DataType::List(Arc::new(Field::new(
+        BuiltinScalarFunction::Cardinality => Ok(UInt64),

Review Comment:
   This is a nice change, but will conflict with https://github.com/apache/arrow-datafusion/pull/6612
   
   (which is fine, I can handle resolving it, but perhaps you have some time to review https://github.com/apache/arrow-datafusion/pull/6612 @jackwener  to minimize future conflicts)?



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org