ayushi-agarwal commented on code in PR #7611:
URL: https://github.com/apache/incubator-gluten/pull/7611#discussion_r2024721437


##########
backends-velox/src/test/scala/org/apache/gluten/execution/ScalarFunctionsValidateSuite.scala:
##########
@@ -1438,4 +1438,37 @@ abstract class ScalarFunctionsValidateSuite extends 
FunctionsValidateSuite {
         checkGlutenOperatorMatch[FilterExecTransformer](df)
     }
   }
+
+  test("date_trunc") {

Review Comment:
   For me initialize function was never getting called when I was running test 
from gluten, after changing the definition of initialize to this it is working 
fine.
   FOLLY_ALWAYS_INLINE void initialize(
         const std::vector<TypePtr>& /*inputTypes*/,
         const core::QueryConfig& config,
         const arg_type<Varchar>* /*unitString*/,
         const arg_type<Timestamp>* /*timestamp*/) {
       std::cout << "Initializing DateTruncFunction" << std::endl;
       timeZone_ = getTimeZoneFromConfig(config);
     }



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to