aucahuasi commented on a change in pull request #11075:
URL: https://github.com/apache/arrow/pull/11075#discussion_r703618316



##########
File path: cpp/src/arrow/compute/kernels/scalar_temporal.cc
##########
@@ -660,36 +736,46 @@ struct ISOCalendar {
 
 template <
     template <typename...> class Op,
-    template <template <typename...> class OpExec, typename Duration, typename 
OutType>
+    template <template <typename...> class OpExec, typename Duration, typename 
InType, typename OutType>
     class ExecTemplate,
     typename OutType>
-std::shared_ptr<ScalarFunction> MakeTemporal(
+std::shared_ptr<ScalarFunction> MakeTemporal(bool enable_date,

Review comment:
       Thanks, I added `/*enable_date=*/` to indicate the intention of the 
boolean parameter.
   Regarding the `SimpleUnaryTemporal` struct, sounds like a nice idea for a 
future refactor, however if you feel strongly about carrying out these sort of 
changes in this PR, let me know please!




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